collectors

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Collect

func (tksc *TopScoreCollector) Collect(ctx context.Context, searcher search.Searcher) error

func (*TopScoreCollector) FacetResults

func (tksc *TopScoreCollector) FacetResults() search.FacetResults

func (*TopScoreCollector) MaxScore

func (tksc *TopScoreCollector) MaxScore() float64

func (*TopScoreCollector) Results

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL