Versions in this module Expand all Collapse all v0 v0.6.0 Jan 5, 2018 Changes in this version + const IntMax + const IntMin + const MaxVarintSize + func DecodeUvarintAscending(b []byte) ([]byte, uint64, error) + func EncodeUvarintAscending(b []byte, v uint64) []byte + type DictionaryIterator interface + Next func() (*index.DictEntry, error) + type DocumentFieldTermVisitable interface + VisitDocumentFieldTerms func(localDocNum uint64, fields []string, visitor index.DocumentFieldTermVisitor) error + type DocumentFieldValueVisitor func(field string, typ byte, value []byte, pos []uint64) bool + type EmptyDictionary struct + func (e *EmptyDictionary) Iterator() DictionaryIterator + func (e *EmptyDictionary) PostingsList(term string, except *roaring.Bitmap) (PostingsList, error) + func (e *EmptyDictionary) PrefixIterator(prefix string) DictionaryIterator + func (e *EmptyDictionary) RangeIterator(start, end string) DictionaryIterator + type EmptyDictionaryIterator struct + func (e *EmptyDictionaryIterator) Next() (*index.DictEntry, error) + type EmptyPostingsIterator struct + func (e *EmptyPostingsIterator) Next() (Posting, error) + type EmptyPostingsList struct + func (e *EmptyPostingsList) Count() uint64 + func (e *EmptyPostingsList) Iterator() PostingsIterator + type EmptySegment struct + func (e *EmptySegment) AddRef() + func (e *EmptySegment) Close() error + func (e *EmptySegment) Count() uint64 + func (e *EmptySegment) DecRef() error + func (e *EmptySegment) Dictionary(field string) (TermDictionary, error) + func (e *EmptySegment) DocNumbers([]string) (*roaring.Bitmap, error) + func (e *EmptySegment) Fields() []string + func (e *EmptySegment) VisitDocument(num uint64, visitor DocumentFieldValueVisitor) error + type Location interface + ArrayPositions func() []uint64 + End func() uint64 + Field func() string + Pos func() uint64 + Start func() uint64 + type Posting interface + Frequency func() uint64 + Locations func() []Location + Norm func() float64 + Number func() uint64 + type PostingsIterator interface + Next func() (Posting, error) + type PostingsList interface + Count func() uint64 + Iterator func() PostingsIterator + type Segment interface + AddRef func() + Close func() error + Count func() uint64 + DecRef func() error + Dictionary func(field string) (TermDictionary, error) + DocNumbers func([]string) (*roaring.Bitmap, error) + Fields func() []string + SizeInBytes func() uint64 + VisitDocument func(num uint64, visitor DocumentFieldValueVisitor) error + type TermDictionary interface + Iterator func() DictionaryIterator + PostingsList func(term string, except *roaring.Bitmap) (PostingsList, error) + PrefixIterator func(prefix string) DictionaryIterator + RangeIterator func(start, end string) DictionaryIterator