0
0
bleve/search/searcher
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
..
base_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
ordered_searchers_list.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_boolean_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_boolean.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_conjunction_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_conjunction.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_disjunction_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_disjunction.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_docid_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_docid.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_filter.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
search_fuzzy_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_fuzzy.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_geoboundingbox_test.go geo review comments from sreekanth 2017-03-31 08:41:40 -04:00
search_geoboundingbox.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_geopointdistance_test.go improved geo searcher unit tests 2017-03-29 16:57:58 -04:00
search_geopointdistance.go fix geo point distance search 2017-04-27 17:28:07 -04:00
search_match_all_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_match_all.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_match_none_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_match_none.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_multi_term.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_numeric_range_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_numeric_range.go filter numeric range terms against the term dictionary 2017-05-31 13:15:13 -04:00
search_phrase_test.go phrase searcher now supports multi-phrase 2017-02-10 15:17:50 -05:00
search_phrase.go add additional parens to clarify logic 2017-02-10 20:22:32 -05:00
search_regexp_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_regexp.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_term_prefix.go add option for multi term searcher to skip max disjunction check 2017-04-04 10:46:57 -04:00
search_term_range_test.go fix panic in term range search 2017-05-05 23:13:04 -04:00
search_term_range.go fix panic in term range search 2017-05-05 23:13:04 -04:00
search_term_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_term.go refactor searchers 2017-03-31 17:21:46 -04:00