lucene71

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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) Read added in v0.0.3

func (f *Lucene46SegmentInfoFormat) Read(dir store.Directory,
	segName string, ctx store.IOContext) (si *SegmentInfo, err error)

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

func (*Lucene46SegmentInfoFormat) Write added in v0.0.3

func (f *Lucene46SegmentInfoFormat) Write(dir store.Directory, si *SegmentInfo, fis FieldInfos, ctx store.IOContext) error

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL