lucene45

package
v0.0.0-...-d0be9ee Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

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 {
}

Jump to

Keyboard shortcuts

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