988ca62182
This optimization changes the search.Search.Next() interface API, adding an optional, pre-allocated *DocumentMatch parameter. When it's non-nil, the TermSearcher and TermQueryScorer will use that pre-allocated *DocumentMatch, instead of allocating a brand new DocumentMatch instance. |
||
---|---|---|
.. | ||
scorer_conjunction.go | ||
scorer_constant_test.go | ||
scorer_constant.go | ||
scorer_disjunction.go | ||
scorer_term_test.go | ||
scorer_term.go | ||
sqrt_cache.go |