Files
tantivy/src/query
petr-tik 028b0a749c Elastic unbounded range query (#624)
* Tidy up

fmt

remove unneccessary -> Result<()> followed by run.unwrap() in a test

* Adding support for elasticsearch-style unbounded queries

Extend the UserInputBound to include Unbounded, so we can reuse formatting and
internal query format

* Still working on elastic-style range queries

Fixes #498

Merge the elastic_range into range

Reformat to make code easier to follow, use optional() macro to return Some

* Fixed bugs

Made the range parser insensitive to whitespace between the ":" and the range.

Removed optional parsing of field.

Added a unit test for the range parser.

Derived PartialEq to compare the results of parsing as structs, instead of
strings. Found a bug with that unit test - "*}" was parsed as an
UserInputBound::Exclusive, instead of UserInputBound::Unbounded. Added an early
detection-and-return for * in the original range parser

* Correct failing test

Assume that we will use "{*" for Unbounded ranges

* Add a note in the changelog

cargo-fmt

* Moved parenthesis to a newline to make nested if-else more visible
2019-08-12 08:24:47 +09:00
..
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-08-08 18:07:19 +09:00
2019-07-17 13:06:44 +09:00
2019-07-01 10:01:46 +09:00
2018-09-15 14:56:14 +09:00
2019-07-07 17:09:04 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-07 17:09:04 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00
2019-07-01 10:01:46 +09:00