0
0
bleve/search
Marty Schoch 77101ae424 filter numeric range terms against the term dictionary
previously, all numeric terms required to implement a numeric
range search were passed to the disjunction query (possibly
exceeding the disjunction clause limit)

now, after producing the list of terms, we filter them against
the terms which actually exist in the term dictionary.  the
theory is that this will often greatly reduce the number of terms
and therefore reduce the likelihood that you would run into the
disjunction term limit in practice.

because the term dictionary interface does not have a seek API
and we're reluctant to add that now, i chose to do a binary
search of the terms, which either finds the term, or not. then
subsequent binary searches can proceed from that position,
since both the list of terms and the term dictionary are sorted.
2017-05-31 13:15:13 -04:00
..
collector Merge pull request #564 from steveyen/master 2017-04-29 19:48:52 -04:00
facet reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00
highlight remove use of float64 to represent int things 2017-02-09 20:15:59 -05:00
query Allow pre parsing query strings 2017-04-25 16:30:47 +02:00
scorer refactor searchers 2017-03-31 17:21:46 -04:00
searcher filter numeric range terms against the term dictionary 2017-05-31 13:15:13 -04:00
collector.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
explanation.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
facets_builder_test.go numeric range facet merging compare range values not pointers 2016-11-03 15:48:46 -04:00
facets_builder.go reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00
levenshtein_test.go removed extra ptr indirection from LevenshteinDistance 2016-10-11 08:49:10 -07:00
levenshtein.go removed extra ptr indirection from LevenshteinDistance 2016-10-11 08:49:10 -07:00
pool_test.go fix misspellings 2016-10-02 12:11:15 -04:00
pool.go DocumentMatchPool hits allocator outside of loop 2017-02-06 14:26:59 -08:00
search.go Review feedback 2017-05-25 08:32:10 -07:00
sort.go Exposing lon/lat fields in SortGeoDistance struct 2017-05-22 11:51:37 +05:30
util_test.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
util.go nicer formatting of license header 2016-10-02 10:13:14 -04:00