Documentation ¶
Index ¶
- func PrepareEnvelope(envelope *spec.Envelope) error
- type DateCache
- type Indexable
- type SearchIndex
- func (m *SearchIndex) Close()
- func (m *SearchIndex) ExpandFromTo(from uint32, to uint32) []int64
- func (m *SearchIndex) ForEach(qr *spec.SearchQueryRequest, limit uint32, ...) error
- func (m *SearchIndex) Ingest(envelope *spec.Envelope) error
- func (m *SearchIndex) ListSegments() ([]int64, error)
- func (m *SearchIndex) LookupSingleSegment(ns int64) *Segment
- type Segment
- type YM
- type YMD
- type YMDH
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareEnvelope ¶
Types ¶
type DateCache ¶
type DateCache struct {
// contains filtered or unexported fields
}
func NewDateCache ¶
func NewDateCache() *DateCache
type Indexable ¶
type Indexable struct {
// contains filtered or unexported fields
}
func (*Indexable) DocumentID ¶
func (*Indexable) IndexableFields ¶
type SearchIndex ¶
type SearchIndex struct { Segments map[string]*Segment SegmentStep int64 sync.RWMutex // contains filtered or unexported fields }
func NewSearchIndex ¶
func (*SearchIndex) Close ¶
func (m *SearchIndex) Close()
func (*SearchIndex) ExpandFromTo ¶
func (m *SearchIndex) ExpandFromTo(from uint32, to uint32) []int64
func (*SearchIndex) ForEach ¶
func (m *SearchIndex) ForEach(qr *spec.SearchQueryRequest, limit uint32, cb func(*Segment, int32, float32) error) error
func (*SearchIndex) ListSegments ¶
func (m *SearchIndex) ListSegments() ([]int64, error)
func (*SearchIndex) LookupSingleSegment ¶
func (m *SearchIndex) LookupSingleSegment(ns int64) *Segment
Click to show internal directories.
Click to hide internal directories.