Documentation ¶
Index ¶
- type TopScoreCollector
- func (tksc *TopScoreCollector) Collect(ctx context.Context, searcher search.Searcher) error
- func (tksc *TopScoreCollector) FacetResults() search.FacetResults
- func (tksc *TopScoreCollector) MaxScore() float64
- func (tksc *TopScoreCollector) Results() search.DocumentMatchCollection
- func (tksc *TopScoreCollector) SetFacetsBuilder(facetsBuilder *search.FacetsBuilder)
- func (tksc *TopScoreCollector) Took() time.Duration
- func (tksc *TopScoreCollector) Total() uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopScoreCollector ¶
type TopScoreCollector struct {
// contains filtered or unexported fields
}
func NewTopScorerCollector ¶
func NewTopScorerCollector(k int) *TopScoreCollector
func NewTopScorerSkipCollector ¶
func NewTopScorerSkipCollector(k, skip int) *TopScoreCollector
func (*TopScoreCollector) FacetResults ¶
func (tksc *TopScoreCollector) FacetResults() search.FacetResults
func (*TopScoreCollector) MaxScore ¶
func (tksc *TopScoreCollector) MaxScore() float64
func (*TopScoreCollector) Results ¶
func (tksc *TopScoreCollector) Results() search.DocumentMatchCollection
func (*TopScoreCollector) SetFacetsBuilder ¶
func (tksc *TopScoreCollector) SetFacetsBuilder(facetsBuilder *search.FacetsBuilder)
func (*TopScoreCollector) Took ¶
func (tksc *TopScoreCollector) Took() time.Duration
func (*TopScoreCollector) Total ¶
func (tksc *TopScoreCollector) Total() uint64
Click to show internal directories.
Click to hide internal directories.