0
0
bleve/search
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
..
collector simplify, per gofmt -s recommendation 2016-10-02 12:14:53 -04:00
facet actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
highlight remove use of float64 to represent int things 2017-02-09 20:15:59 -05:00
query improve query string compatibility 2017-02-23 13:04:18 -05:00
scorer remove use of float64 to represent int things 2017-02-09 20:15:59 -05:00
searcher add additional parens to clarify logic 2017-02-10 20:22:32 -05: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 numeric range facet merging compare range values not pointers 2016-11-03 15:48:46 -04: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 remove use of float64 to represent int things 2017-02-09 20:15:59 -05:00
sort.go fix misspellings 2016-10-02 12:11:15 -04:00
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