1307 Commits

Author SHA1 Message Date
Clément Renault
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
Clément Renault
222f2913c1
Simplify the processing_update UpdateStore method 2020-12-01 14:51:05 +01:00
Kerollmops
878b1873cd
Make sure to avoid removing the first pending update as it is processed 2020-12-01 14:51:05 +01:00
Clément Renault
96f64c629e
Move the UpdateStore out of the update module 2020-12-01 14:51:05 +01:00
Clément Renault
58a1f9081c
Allow users to abort pending updates, one by one or all at once 2020-12-01 14:51:05 +01:00
Clément Renault
e4c2abb1d9
Merge pull request #44 from meilisearch/clippy
Fix some clippy warnings
2020-12-01 14:50:31 +01:00
Kerollmops
d0240bd9d0
Done a big clippy pass 2020-12-01 14:45:19 +01:00
Clément Renault
6e3f4e5e45
Merge pull request #43 from meilisearch/lowercase-facet-strings
Lowercase the facet string value
2020-12-01 14:44:39 +01:00
Kerollmops
844a9022fb
Introduce the FacetStringOperator equal and not_equal constructors 2020-12-01 14:29:44 +01:00
Kerollmops
45877b3154
Lowercase the facet string value 2020-12-01 14:10:00 +01:00
Clément Renault
6120f6590b
Merge pull request #38 from meilisearch/facet-queries
Introduce a facet filter system
2020-11-28 17:21:07 +01:00
Clément Renault
ba4ba685f9
Make the facet levels maps to previous level groups and don't split them 2020-11-28 12:43:43 +01:00
Clément Renault
276c87af68
Introduce more test to the FacetCondition struct 2020-11-23 16:43:57 +01:00
Clément Renault
a50f63840f
Return spanned pest error while parsing numbers in facet filters 2020-11-23 16:43:57 +01:00
Clément Renault
54d5cec582
Transform numbers into strings when faceted and necessary 2020-11-23 16:43:56 +01:00
Clément Renault
fc686aaca7
Use the De Morgan law to simplify the NOT operation 2020-11-23 16:43:56 +01:00
Clément Renault
7370ef8c5e
Add two simple test to the facet FacetCondition struct construction 2020-11-23 16:43:56 +01:00
Clément Renault
fc242f6e1f
Rewrite the FacetCondtion Debug impl in a defensive way 2020-11-23 16:43:56 +01:00
Clément Renault
a0adfb5e8e
Introduce a real pest parser and support every facet filter conditions 2020-11-23 16:43:55 +01:00
Clément Renault
c52d09d5b1
Support a basic version of the string facet query system 2020-11-23 16:43:55 +01:00
Clément Renault
498f0d8539
Output the documents count for each facet value in the infos subcommand 2020-11-23 16:43:55 +01:00
Clément Renault
278391d961
Move the facets related system into the new search module 2020-11-23 16:43:54 +01:00
Clément Renault
531bd6ddc7
Make the facet operator evaluation code generic 2020-11-23 16:43:54 +01:00
Clément Renault
d40dd3e4da
Reduce the amount of duplicated code to iterate over facet values 2020-11-23 16:43:54 +01:00
Clément Renault
07a0c82790
Bump heed to 0.10.4 to use be able to lazily decode roaring bitmaps 2020-11-23 16:43:53 +01:00
Clément Renault
59ca4b9fe4
Introduce a little bit of debug when deleting documents 2020-11-23 16:43:53 +01:00
Clément Renault
0694cc4916
Drastically speed up documents deletion updates 2020-11-23 16:43:53 +01:00
Clément Renault
38c76754ef
Make the facet level search system generic on f64 and i64 2020-11-23 16:43:52 +01:00
Clément Renault
9e2cbe3362
Improve the FacetLevelF64 serialization 2020-11-23 16:43:52 +01:00
Clément Renault
ced0c29c56
Simplify getting the biggest level of a facet field 2020-11-23 16:43:52 +01:00
Kerollmops
7d67c9e2e7
Improve the facet search algorithm performances 2020-11-23 16:43:52 +01:00
Clément Renault
67d4a1b3fc
Introduce a new update for the facet levels 2020-11-23 16:43:51 +01:00
Clément Renault
45e0feab4e
Speed up the facets stats infos subcommand 2020-11-23 16:43:51 +01:00
Kerollmops
7a6e6eb5e2
Introduce a facets stats infos subcommand 2020-11-23 16:43:51 +01:00
Clément Renault
9ec95679e1
Introduce a function to retrieve the facet level range docids 2020-11-23 16:43:50 +01:00
Clément Renault
57d253aeda
Improve the infos biggest-value subcommand to support facets 2020-11-23 16:43:50 +01:00
Clément Renault
fd8360deb1
Update the facet indexing facet test 2020-11-23 16:43:50 +01:00
Clément Renault
9b7e516a56
Fix the indexing process going back in time 2020-11-23 16:43:49 +01:00
Clément Renault
b255be93fa
Bump heed to 0.10.3 2020-11-23 16:43:49 +01:00
Clément Renault
218eb97241
Introduce an input field for the facet filters on the http-ui 2020-11-23 16:43:49 +01:00
Clément Renault
2341b99379
Support a basic facet based query system 2020-11-23 16:43:49 +01:00
Clément Renault
1d5795d134
Merge pull request #39 from meilisearch/speedup-documents-ids-merging
Speedup documents ids merging
2020-11-22 19:32:24 +01:00
Clément Renault
05c95dfdc6
Introduce an infos subcommand that patches the external documents ids 2020-11-22 19:27:34 +01:00
Clément Renault
27f3ef5f7a
Use the new ExternalDocumentsIds struct in the engine 2020-11-22 19:27:34 +01:00
Clément Renault
fe82516f9f
Use the ExternalDocumentsIds in the Index struct 2020-11-22 19:27:34 +01:00
Clément Renault
415c0b86ba
Introduce the ExternalDocumentsIds struct 2020-11-22 19:27:33 +01:00
Clément Renault
eded5558b2
Rename the users ids documents ids into external documents ids 2020-11-22 17:17:47 +01:00
Clément Renault
f06355b0bb
Display the time it takes to merge user documents ids 2020-11-22 11:28:35 +01:00
Clément Renault
b0c5f59c07
Merge pull request #36 from meilisearch/index-facets
Index facets values and support facet numbers
2020-11-14 14:32:05 +01:00
Clément Renault
e76558b0cc
Change the settings update system to reindex only one time 2020-11-14 11:17:49 +01:00