Paul Masurel
6a48953d8a
Closes #266 ( #268 )
...
PhraseQuery panics with a nice error message when the underlying field does not have any positions.
The `QueryParser` fails as well with a dedicated error.
2018-04-17 10:03:15 +09:00
Paul Masurel
e44782bf14
No more
2018-04-12 13:01:11 +09:00
Paul Masurel
3ae03b91ae
PhraseScorer's score aligned with that of Lucene.)
2018-03-25 12:44:16 +09:00
Paul Masurel
a3b44773bb
Bugfix and rustfmt
2018-03-10 12:21:50 +09:00
Paul Masurel
2c3e33895a
Added unit tests
2018-02-21 00:03:41 +09:00
Paul Masurel
d512b53688
Added handling of parenthesis in query parser
2018-02-20 23:18:02 +09:00
Paul Masurel
c8afd2b55d
Added unit tests
2018-02-20 17:05:33 +09:00
Paul Masurel
3edb3dce6a
Test not passing
2018-01-25 12:46:32 +09:00
Paul Masurel
ef109927b3
rustfmt
2018-01-04 12:08:34 +09:00
Paul Masurel
9e132b7dde
NOBUG QueryParser does not need to be mut. Code cleanup
2017-12-16 15:43:35 +09:00
Paul Masurel
1e55189db1
NOBUG rustfmt
2017-12-14 19:30:31 +09:00
Paul Masurel
8b1b389a76
NOBUG Clippy
2017-12-14 19:25:12 +09:00
Paul Masurel
f24e5f405e
NOBUG intellij misc lint
2017-12-14 18:23:35 +09:00
Paul Masurel
974c321153
cargo fmt
2017-11-26 11:02:02 +09:00
Paul Masurel
acd7c1ea2d
Added comments
2017-11-26 10:44:49 +09:00
Paul Masurel
ac4d433fad
Renamed analyzer to tokenizer
2017-11-24 16:50:32 +09:00
Paul Masurel
2c9302290f
#191 Analyzer
2017-09-20 22:56:55 +09:00
Paul Masurel
426cc436da
Test passing
2017-09-10 17:48:41 +09:00
Paul Masurel
68d42c9cf2
Added raw tokenizer, using the right analyzer in query parser.
2017-09-10 16:58:50 +09:00
Paul Masurel
ca49d6130f
Test not passing
2017-09-09 17:32:47 +09:00
Paul Masurel
3588ca0561
Integrated with the merge branch
2017-09-09 15:27:19 +09:00
Paul Masurel
f8710bd4b0
Format
2017-08-28 18:22:41 +09:00
Paul Masurel
b05b5f5487
issue/191 Added an analyzer manager.
2017-06-20 10:02:26 +09:00
Paul Masurel
f26874557e
Remove the concept of pipeline. Made a BoableAnalyzer
2017-06-10 20:06:00 +09:00
Paul Masurel
a7d10b65ae
Added support for Japanese.
2017-06-09 22:25:03 +09:00
Paul Masurel
e120e3b7aa
issue/191 Added proper analyzer
2017-06-07 23:21:36 +09:00
Laurentiu Nicola
a67caee141
clippy: fix len_zero warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
f5fb29422a
clippy: fix while_let_loop warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
6fea510869
clippy: fix redundant_closure warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
8e407bb314
clippy: fix needless_borrow warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
103ba6ba35
clippy: fix match_ref_pats warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
3e2ad7542d
clippy: fix needless_return warnings
2017-05-17 15:50:07 +09:00
Laurentiu Nicola
3dde748b25
Make rustfmt happy
2017-05-16 00:49:05 +03:00
Paul Masurel
4c8f9742f8
format
2017-05-15 22:30:18 +09:00
Paul Masurel
2947364ae1
issues/65 Phrase query for untokenized fields are not tokenized.
2017-05-06 22:14:26 +09:00
Paul Masurel
deb04eb090
issue/65 Switching to u64.
2017-05-04 16:46:13 +08:00
Paul Masurel
8a28d1643d
Using u32 for field ids
2017-04-15 13:04:33 +09:00
Paul Masurel
cefb09c593
NOBUG removed useless panic
2016-11-27 23:03:14 +09:00
Paul Masurel
69e11d3779
issue/57 Cleaning.
...
Closes #57
Closes #56
Closes #23
2016-11-17 23:18:24 +09:00
Paul Masurel
3f20788a36
issue/57 TermQuery take parameter
2016-11-17 09:20:50 +09:00
Paul Masurel
831ed4caf6
issue/57 Switch to the new query parser.
2016-11-16 00:53:04 +09:00