Commit Graph

17 Commits

Author SHA1 Message Date
0959e1501f Introduce the FacetRevRange Iterator struct 2020-12-04 12:02:23 +01:00
58d039a70d Introduce the FacetIter Iterator 2020-12-04 12:02:23 +01:00
d8e25a0863 Order documents by the first custom criterion on basic searches 2020-12-04 12:02:23 +01:00
e0cc7faea1 Use the facet ordered to the search 2020-12-04 12:02:23 +01:00
57e8e5c965 Move the FacetCondition to its own module 2020-12-02 11:21:26 +01:00
ecc8bc8910 Introduce the FieldId u8 alias type 2020-12-02 11:19:45 +01:00
d0240bd9d0 Done a big clippy pass 2020-12-01 14:45:19 +01:00
844a9022fb Introduce the FacetStringOperator equal and not_equal constructors 2020-12-01 14:29:44 +01:00
45877b3154 Lowercase the facet string value 2020-12-01 14:10:00 +01:00
276c87af68 Introduce more test to the FacetCondition struct 2020-11-23 16:43:57 +01:00
a50f63840f Return spanned pest error while parsing numbers in facet filters 2020-11-23 16:43:57 +01:00
fc686aaca7 Use the De Morgan law to simplify the NOT operation 2020-11-23 16:43:56 +01:00
7370ef8c5e Add two simple test to the facet FacetCondition struct construction 2020-11-23 16:43:56 +01:00
fc242f6e1f Rewrite the FacetCondtion Debug impl in a defensive way 2020-11-23 16:43:56 +01:00
a0adfb5e8e Introduce a real pest parser and support every facet filter conditions 2020-11-23 16:43:55 +01:00
c52d09d5b1 Support a basic version of the string facet query system 2020-11-23 16:43:55 +01:00
278391d961 Move the facets related system into the new search module 2020-11-23 16:43:54 +01:00