0
0
Fork 0
bleve/search/collector
abhinavdangeti 7e36109b3c MB-28162: Provide API to estimate memory needed to run a search query
This API (unexported) will estimate the amount of memory needed to execute
a search query over an index before the collector begins data collection.

Sample estimates for certain queries:
{Size: 10, BenchmarkUpsidedownSearchOverhead}
                                                           ESTIMATE    BENCHMEM
TermQuery                                                  4616        4796
MatchQuery                                                 5210        5405
DisjunctionQuery (Match queries)                           7700        8447
DisjunctionQuery (Term queries)                            6514        6591
ConjunctionQuery (Match queries)                           7524        8175
Nested disjunction query (disjunction of disjunctions)     10306       10708
…
2018-03-06 13:53:42 -08:00
..
bench_test.go BREAKING API CHANGE - use stdlib context pkg 2018-02-27 11:33:43 -08:00
heap.go Merge pull request #564 from steveyen/master 2017-04-29 19:48:52 -04:00
list.go topn collector switch approach based on size+skip 2017-04-27 08:57:13 -04:00
search_test.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
slice.go topn collector switch approach based on size+skip 2017-04-27 08:57:13 -04:00
topn.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
topn_test.go BREAKING API CHANGE - use stdlib context pkg 2018-02-27 11:33:43 -08:00