Documentation ¶
Index ¶
- Constants
- type Longs
- type Lucene49Codec
- type Lucene49NormsFormat
- type NormMap
- type NormsConsumer
- type NormsEntry
- type NormsProducer
- func (np *NormsProducer) Binary(field *FieldInfo) (BinaryDocValues, error)
- func (np *NormsProducer) Close() error
- func (np *NormsProducer) Numeric(field *FieldInfo) (NumericDocValues, error)
- func (np *NormsProducer) Sorted(field *FieldInfo) (SortedDocValues, error)
- func (np *NormsProducer) SortedSet(field *FieldInfo) (SortedSetDocValues, error)
Constants ¶
View Source
const ( DATA_CODEC = "Lucene49NormsData" DATA_EXTENSION = "nvd" METADATA_CODEC = "Lucene49NormsMetadata" METADATA_EXTENSION = "nvm" VERSION_START = 0 VERSION_CURRENT = VERSION_START )
View Source
const ( DELTA_COMPRESSED = 0 TABLE_COMPRESSED = 1 CONST_COMPRESSED = 2 UNCOMPRESSED = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lucene49Codec ¶
type Lucene49Codec struct {
*CodecImpl
}
Implements the Lucene 4.9 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 Lucene49NormsFormat ¶
type Lucene49NormsFormat struct { }
func (*Lucene49NormsFormat) NormsConsumer ¶
func (f *Lucene49NormsFormat) NormsConsumer(state *SegmentWriteState) (w DocValuesConsumer, err error)
func (*Lucene49NormsFormat) NormsProducer ¶
func (f *Lucene49NormsFormat) NormsProducer(state SegmentReadState) (r DocValuesProducer, err error)
type NormMap ¶
type NormMap struct {
// contains filtered or unexported fields
}
Specialized deduplication of long-ord for norms: 99.99999% of the time this will be a single-byte range.
type NormsConsumer ¶
type NormsConsumer struct {
// contains filtered or unexported fields
}
func (*NormsConsumer) AddNumericField ¶
func (nc *NormsConsumer) AddNumericField(field *FieldInfo, iter func() func() (interface{}, bool)) (err error)
func (*NormsConsumer) Close ¶
func (nc *NormsConsumer) Close() (err error)
type NormsEntry ¶
type NormsEntry struct {
// contains filtered or unexported fields
}
type NormsProducer ¶
func (*NormsProducer) Binary ¶
func (np *NormsProducer) Binary(field *FieldInfo) (BinaryDocValues, error)
func (*NormsProducer) Close ¶
func (np *NormsProducer) Close() error
func (*NormsProducer) Numeric ¶
func (np *NormsProducer) Numeric(field *FieldInfo) (NumericDocValues, error)
func (*NormsProducer) Sorted ¶
func (np *NormsProducer) Sorted(field *FieldInfo) (SortedDocValues, error)
func (*NormsProducer) SortedSet ¶
func (np *NormsProducer) SortedSet(field *FieldInfo) (SortedSetDocValues, error)
Click to show internal directories.
Click to hide internal directories.