![]() 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. |
||
---|---|---|
.. | ||
bench_test.go | ||
collector_top_score_test.go | ||
collector_top_score.go | ||
search_test.go |