0
0
Fork 0
bleve/index/scorch/segment
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
..
mem MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
zap MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
empty.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
int.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
int_test.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
segment.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00