Commit Graph

413 Commits

Author SHA1 Message Date
f8f33d35e0 Add the criteria list to the index 2020-12-02 11:21:26 +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
0a63e69e04 Merge pull request #45 from meilisearch/infos-export-documents
Infos export documents
2020-12-02 10:50:54 +01:00
16755b26e2 Make the export words FST export infos subcommand outputs to stdout 2020-12-02 10:43:22 +01:00
85d51ab228 Introduce an infos subcommand to export documents from an index 2020-12-02 10:42:48 +01:00
92f253adb2 Merge pull request #41 from meilisearch/update-store-delete-updates
Allow users to abort pending updates
2020-12-01 14:56:00 +01:00
222f2913c1 Simplify the processing_update UpdateStore method 2020-12-01 14:51:05 +01:00
878b1873cd Make sure to avoid removing the first pending update as it is processed 2020-12-01 14:51:05 +01:00
96f64c629e Move the UpdateStore out of the update module 2020-12-01 14:51:05 +01:00
58a1f9081c Allow users to abort pending updates, one by one or all at once 2020-12-01 14:51:05 +01:00
e4c2abb1d9 Merge pull request #44 from meilisearch/clippy
Fix some clippy warnings
2020-12-01 14:50:31 +01:00
d0240bd9d0 Done a big clippy pass 2020-12-01 14:45:19 +01:00
6e3f4e5e45 Merge pull request #43 from meilisearch/lowercase-facet-strings
Lowercase the facet string value
2020-12-01 14:44:39 +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
6120f6590b Merge pull request #38 from meilisearch/facet-queries
Introduce a facet filter system
2020-11-28 17:21:07 +01:00
ba4ba685f9 Make the facet levels maps to previous level groups and don't split them 2020-11-28 12:43:43 +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
54d5cec582 Transform numbers into strings when faceted and necessary 2020-11-23 16:43:56 +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
498f0d8539 Output the documents count for each facet value in the infos subcommand 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
531bd6ddc7 Make the facet operator evaluation code generic 2020-11-23 16:43:54 +01:00
d40dd3e4da Reduce the amount of duplicated code to iterate over facet values 2020-11-23 16:43:54 +01:00
07a0c82790 Bump heed to 0.10.4 to use be able to lazily decode roaring bitmaps 2020-11-23 16:43:53 +01:00
59ca4b9fe4 Introduce a little bit of debug when deleting documents 2020-11-23 16:43:53 +01:00
0694cc4916 Drastically speed up documents deletion updates 2020-11-23 16:43:53 +01:00
38c76754ef Make the facet level search system generic on f64 and i64 2020-11-23 16:43:52 +01:00
9e2cbe3362 Improve the FacetLevelF64 serialization 2020-11-23 16:43:52 +01:00
ced0c29c56 Simplify getting the biggest level of a facet field 2020-11-23 16:43:52 +01:00
7d67c9e2e7 Improve the facet search algorithm performances 2020-11-23 16:43:52 +01:00
67d4a1b3fc Introduce a new update for the facet levels 2020-11-23 16:43:51 +01:00
45e0feab4e Speed up the facets stats infos subcommand 2020-11-23 16:43:51 +01:00
7a6e6eb5e2 Introduce a facets stats infos subcommand 2020-11-23 16:43:51 +01:00
9ec95679e1 Introduce a function to retrieve the facet level range docids 2020-11-23 16:43:50 +01:00
57d253aeda Improve the infos biggest-value subcommand to support facets 2020-11-23 16:43:50 +01:00
fd8360deb1 Update the facet indexing facet test 2020-11-23 16:43:50 +01:00
9b7e516a56 Fix the indexing process going back in time 2020-11-23 16:43:49 +01:00
b255be93fa Bump heed to 0.10.3 2020-11-23 16:43:49 +01:00
218eb97241 Introduce an input field for the facet filters on the http-ui 2020-11-23 16:43:49 +01:00
2341b99379 Support a basic facet based query system 2020-11-23 16:43:49 +01:00
1d5795d134 Merge pull request #39 from meilisearch/speedup-documents-ids-merging
Speedup documents ids merging
2020-11-22 19:32:24 +01:00
05c95dfdc6 Introduce an infos subcommand that patches the external documents ids 2020-11-22 19:27:34 +01:00
27f3ef5f7a Use the new ExternalDocumentsIds struct in the engine 2020-11-22 19:27:34 +01:00