0
0
bleve/search/query
Marty Schoch f391b991c2 improve query string compatibility
1) disjunction and conjunction queries now support a
"query string mode".  By default they do not operate
in this mode.  When in this mode, any disjunct/conjunct
which evaluates to MatchNone searcher, will be removed
from the disjunction/conjunction.  If the query ends
up with NO conjuncts/disjuncts, it will itself
return the MatchNone seacher.

2) boolean query also supports a query string mode.  when in
this mode, the Must, Should and MustNot searchers are all put
into query string mode.

3) rewriting of negation only queries (like -foo) now take into
account the rewriting rules above, and those are handled first.
this means that we rewrite correctly in case of +stoword -foo

4) the empty query string is now valid, and returns 0 hits.
previously this was considered a validation error.
2017-02-23 13:04:18 -05:00
..
bool_field.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
boolean.go improve query string compatibility 2017-02-23 13:04:18 -05:00
boost.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
conjunction.go improve query string compatibility 2017-02-23 13:04:18 -05:00
date_range_test.go fix BleveQueryTime json marshaling with double-quoting 2016-10-12 11:39:08 -07:00
date_range.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
disjunction.go improve query string compatibility 2017-02-23 13:04:18 -05:00
docid.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
fuzzy.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_all.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_none.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_phrase_test.go update match_phrase query to handle multiple tokens in same pos 2017-02-10 17:12:13 -05:00
match_phrase.go update match_phrase query to handle multiple tokens in same pos 2017-02-10 17:12:13 -05:00
match.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
multi_phrase.go add query support for multi-phrase 2017-02-10 16:46:38 -05:00
numeric_range.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
phrase.go move phrase search logic into phrase searcher 2017-02-10 12:05:01 -05:00
prefix.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
query_string_lex.go fix misspellings 2016-10-02 12:11:15 -04:00
query_string_parser_test.go improve query string compatibility 2017-02-23 13:04:18 -05:00
query_string_parser.go improve query string compatibility 2017-02-23 13:04:18 -05:00
query_string.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
query_string.y don't export unnecessary method 2016-10-02 11:50:58 -04:00
query_string.y.go don't export unnecessary method 2016-10-02 11:50:58 -04:00
query_test.go add support for parsing BoolFieldQuery from JSON 2016-11-15 10:29:11 -05:00
query.go add query support for multi-phrase 2017-02-10 16:46:38 -05:00
regexp.go improve performance of regular expression and wildcard queries 2017-01-18 16:22:16 -05:00
term.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
wildcard.go improve performance of regular expression and wildcard queries 2017-01-18 16:22:16 -05:00