Paul Masurel
10f6c07c53
Clippy ( #422 )
...
* Cargo Format
* Clippy
2018-09-15 20:20:22 +09:00
Paul Masurel
06e7bd18e7
Clippy ( #421 )
...
* Cargo Format
* Clippy
* bugfix
* still clippy stuff
* clippy step 2
2018-09-15 14:56:14 +09:00
Paul Masurel
37e4280c0a
Cargo Format ( #420 )
2018-09-15 07:44:22 +09:00
Paul Masurel
98c7fbdc6f
Issue/378 ( #392 )
...
* Added failing unit test
* Closes #378 . Handling queries that end up empty after going through the analyzer.
* Fixed stop word example
2018-09-06 10:11:54 +09:00
Paul Masurel
2649c8a715
Issue/246 ( #393 )
...
* Moving Range and All to Leaves
* Parsing OR/AND
* Simplify user input ast
* AND and OR supported. Returning an error when mixing syntax
Closes #246
* Added support for NOT
* Updated changelog
2018-08-28 11:03:54 +09:00
Paul Masurel
a0a284fe91
Added a full fledge empty query and relyign on it in QueryParser, instead of using an empty clause.
2018-08-20 09:21:32 +09:00
Vignesh Sarma K
09e00f1d42
add position_length to Token ( #337 )
...
* add position_length to Token
refer #291
* Add term offset to `PhraseQuery`
ref #291
* Add new constructor for `PhraseQuery` that allows custom offset
* fix the method name as per pr comment
* Closes #291
Added unit test.
Using offsets from the analyzer in QueryParser.
2018-08-13 10:14:50 +09:00
Paul Masurel
d11cb087a7
Updated to combine-0.3 ( #362 )
2018-08-02 18:29:58 +09:00
Jason Wolfe
00466d2b08
#328 : Support parsing unbounded range queries ( #329 )
...
* #328 : Support parsing unbounded range queries. Update CHANGELOG.md for query parser changes.
* Set version to 0.7-dev
2018-06-30 13:24:02 +09:00
Paul Masurel
8ebbf6b336
Issue/325 ( #330 )
...
* Introducing a SegmentMea inventory.
* Depending on census=0.1
* Cargo fmt
2018-06-30 13:11:41 +09:00
Jason Wolfe
2ac43bf21b
Support parsing RangeQuery and AllQuery in Queryparser ( #323 )
...
* (#321 ) Add support for range query parsing to grammar / parser. Still needs to be wired through the rest of the way.
* (321) Finish wiring RangeQuery parsing through
* (#321 ) Add logical AST query parser tests for RangeQuery
* (#321 ) Support parsing AllQuery
* (#321 ) Update documentation of QueryParser
* (#321 ) Support negative numbers in range query parsing
2018-06-25 08:29:47 +09:00
Jason Wolfe
8e343b1ca3
Add fast field for associating arbitrary bytes to a document ( #275 )
...
* Add fast field for associating arbitrary bytes to a document
* Fix unused macro_use warning
* Improvements from code review
* Make BytesFastFieldWriter public
* Fix json parsing validation failure
* Add bytes fast field to CHANGELOG.md
* Fix compile errors from merge
* Support merging
* Address misc code review comments
* Fix comments from CR
2018-05-07 19:30:31 -07:00
Paul Masurel
78673172d0
Cargo fmt
2018-04-21 20:05:36 +09:00
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
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
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