0
0
Commit Graph

11 Commits

Author SHA1 Message Date
Marty Schoch
f69838d670 added support for boost with ^boostval in syntax query
closes #51
also found/fixed major bug in scoring, closes #61
2014-08-06 19:36:23 -04:00
Marty Schoch
2968d3538a major refactor, apologies for the large commit
removed analyzers (these are now built as needed through config)
removed html chacter filter (now built as needed through config)
added missing license header
changed constructor signature of filters that cannot return errors
filter constructors that can have errors, now have Must variant which panics
change cdl2 tokenizer into filter (should only see lower-case input)
new top level index api, closes #5
refactored index tests to not rely directly on analyzers
moved query objects to top-level
new top level search api, closes #12
top score collector allows skipping results
index mapping supports _all by default, closes #3 and closes #6
index mapping supports disabled sections, closes #7
new http sub package with reusable http.Handler's, closes #22
2014-07-30 12:30:38 -04:00
Marty Schoch
f225d484b3 overhauled search
many bugs fixed in existing search
phrase query updated to support gaps in term sequence
new query types
all,none,match,phrase match
and new query syntax search, like google search:
+/-(optional field qualifier:)<term or quoted phrase>
2014-07-11 14:49:59 -04:00
Marty Schoch
9bebbec267 added support for stored fields and highlighting results 2014-06-26 11:43:13 -04:00
Marty Schoch
ba442d2669 added a must not clause to improve coverage 2014-04-25 13:13:36 -06:00
Marty Schoch
1a05662f47 changed values to increase test coverage 2014-04-25 13:09:14 -06:00
Marty Schoch
293fdb4c19 improved coverage 2014-04-25 13:04:09 -06:00
Marty Schoch
940f7c4e5d fix nil checking and add test for nested boolean query 2014-04-25 12:47:15 -06:00
Marty Schoch
e5bb94774b add test for boolean not satisfying enough shoulds 2014-04-25 11:59:06 -06:00
Marty Schoch
26e55db5e9 better testing of boolean search 2014-04-25 11:24:10 -06:00
Marty Schoch
c80f7f4042 added boolean search 2014-04-25 10:45:23 -06:00