Documentation ¶
Index ¶
- Constants
- type Lucene46SegmentInfoFormat
- func (f *Lucene46SegmentInfoFormat) Read(dir store.Directory, segName string, ctx store.IOContext) (si *SegmentInfo, err error)
- func (f *Lucene46SegmentInfoFormat) SegmentInfoReader() SegmentInfoReader
- func (f *Lucene46SegmentInfoFormat) SegmentInfoWriter() SegmentInfoWriter
- func (f *Lucene46SegmentInfoFormat) Write(dir store.Directory, si *SegmentInfo, fis FieldInfos, ctx store.IOContext) error
- type Lucene71Codec
Constants ¶
View Source
const ( // File extension used to store SegmentInfo. SI_EXTENSION = "si" SI_CODEC_NAME = "Lucene46SegmentInfo" SI_VERSION_START = 0 SI_VERSION_CHECKSUM = 1 SI_VERSION_CURRENT = SI_VERSION_CHECKSUM )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lucene46SegmentInfoFormat ¶ added in v0.0.3
type Lucene46SegmentInfoFormat struct { }
func NewLucene46SegmentInfoFormat ¶ added in v0.0.3
func NewLucene46SegmentInfoFormat() *Lucene46SegmentInfoFormat
func (*Lucene46SegmentInfoFormat) SegmentInfoReader ¶ added in v0.0.3
func (f *Lucene46SegmentInfoFormat) SegmentInfoReader() SegmentInfoReader
func (*Lucene46SegmentInfoFormat) SegmentInfoWriter ¶ added in v0.0.3
func (f *Lucene46SegmentInfoFormat) SegmentInfoWriter() SegmentInfoWriter
type Lucene71Codec ¶
type Lucene71Codec struct {
*CodecImpl
}
Lucene71Codec implements the Lucene 4.10 index format, with configuration per-field postings and docvalues format.
If you want to reuse functionality of this codec in another codec, extend FilterCodec (or embeds the Codec in Go style).
Click to show internal directories.
Click to hide internal directories.