Versions in this module Expand all Collapse all v0 v0.7.0 Feb 27, 2018 v0.6.0 Jan 5, 2018 Changes in this version + type Dictionary struct + func (d *Dictionary) Iterator() segment.DictionaryIterator + func (d *Dictionary) PostingsList(term string, except *roaring.Bitmap) (segment.PostingsList, error) + func (d *Dictionary) PrefixIterator(prefix string) segment.DictionaryIterator + func (d *Dictionary) RangeIterator(start, end string) segment.DictionaryIterator + type DictionaryIterator struct + func (d *DictionaryIterator) Next() (*index.DictEntry, error) + type Location struct + func (l *Location) ArrayPositions() []uint64 + func (l *Location) End() uint64 + func (l *Location) Field() string + func (l *Location) Pos() uint64 + func (l *Location) Start() uint64 + type Posting struct + func (p *Posting) Frequency() uint64 + func (p *Posting) Locations() []segment.Location + func (p *Posting) Norm() float64 + func (p *Posting) Number() uint64 + type PostingsIterator struct + func (i *PostingsIterator) Next() (segment.Posting, error) + type PostingsList struct + func (p *PostingsList) Count() uint64 + func (p *PostingsList) Iterator() segment.PostingsIterator + type Segment struct + DictKeys [][]string + Dicts []map[string]uint64 + DocValueFields map[uint16]bool + FieldsInv []string + FieldsMap map[string]uint16 + Freqs [][]uint64 + Locarraypos [][][]uint64 + Locends [][]uint64 + Locfields [][]uint16 + Locpos [][]uint64 + Locstarts [][]uint64 + Norms [][]float32 + Postings []*roaring.Bitmap + PostingsLocs []*roaring.Bitmap + Stored []map[uint16][][]byte + StoredPos []map[uint16][][]uint64 + StoredTypes []map[uint16][]byte + func New() *Segment + func NewFromAnalyzedDocs(results []*index.AnalysisResult) *Segment + func (s *Segment) AddRef() + func (s *Segment) Close() error + func (s *Segment) Count() uint64 + func (s *Segment) DecRef() error + func (s *Segment) Dictionary(field string) (segment.TermDictionary, error) + func (s *Segment) DocNumbers(ids []string) (*roaring.Bitmap, error) + func (s *Segment) Fields() []string + func (s *Segment) SizeInBytes() uint64 + func (s *Segment) VisitDocument(num uint64, visitor segment.DocumentFieldValueVisitor) error