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 + const CheckDoneEvery + var PreAllocSizeSkipCap = 1000 + type TopNCollector struct + func NewTopNCollector(size int, skip int, sort search.SortOrder) *TopNCollector + func (hc *TopNCollector) Collect(ctx context.Context, searcher search.Searcher, reader index.IndexReader) error + func (hc *TopNCollector) FacetResults() search.FacetResults + func (hc *TopNCollector) MaxScore() float64 + func (hc *TopNCollector) Results() search.DocumentMatchCollection + func (hc *TopNCollector) SetFacetsBuilder(facetsBuilder *search.FacetsBuilder) + func (hc *TopNCollector) Took() time.Duration + func (hc *TopNCollector) Total() uint64