Documentation
¶
Index ¶
Constants ¶
View Source
const ( LUCENE45_DV_DATA_CODEC = "Lucene45DocValuesData" LUCENE45_DV_DATA_EXTENSION = "dvd" LUCENE45_DV_META_CODEC = "Lucene45valuesMetadata" LUCENE45_DV_META_EXTENSION = "dvm" )
Variables ¶
View Source
var Lucene45CodecImpl = func() *Lucene45Codec { codec := NewCodec("Lucene45", lucene41.NewLucene41StoredFieldsFormat(), lucene42.NewLucene42TermVectorsFormat(), lucene42.NewLucene42FieldInfosFormat(), lucene40.NewLucene40SegmentInfoFormat(), new(lucene40.Lucene40LiveDocsFormat), perfield.NewPerFieldPostingsFormat(func(field string) PostingsFormat { return LoadPostingsFormat("Lucene41") }), perfield.NewPerFieldDocValuesFormat(func(field string) DocValuesFormat { panic("not implemented yet") }), lucene42.NewLucene42NormsFormat(), ) return &Lucene45Codec{ CodecImpl: codec, } }()
Functions ¶
This section is empty.
Types ¶
type Lucene45Codec ¶
type Lucene45Codec struct {
*CodecImpl
}
NOTE: if we make largish changes in a minor release, easier to just make Lucene46Codec or whatever if they are backwards compatible or smallish we can probably do the backwards in the postingreader (it writes a minor version, etc).
Implements the Lucene 4.5 index format, with configurable per-field postings and docvalues formats.
If you want to reuse functionality of this codec in another codec, extend FilterCodec.
type Lucene45DocvaluesProducer ¶
type Lucene45DocvaluesProducer struct { }
Click to show internal directories.
Click to hide internal directories.