Commit Graph

395 Commits

Author SHA1 Message Date
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
Clément Renault
f9cc12ae0f
Do not try to parse empty faceted strings 2020-11-13 18:35:47 +01:00
Clément Renault
23f9a22edc
Update the HTTP settings route to accept the faceted fields 2020-11-13 18:35:47 +01:00
Clément Renault
8e6efe4d87
Introduce an infos subcommand to display the facet values 2020-11-13 18:35:47 +01:00
Clément Renault
a18d9a1f87
Parse and store the faceted fields 2020-11-13 16:13:51 +01:00
Clément Renault
4e5e55c21a
Simplify the merge functions 2020-11-13 14:50:30 +01:00
Clément Renault
8ae9888959
Store the field id instead of the field name in the facets database 2020-11-13 14:50:30 +01:00
Clément Renault
cf9ddd293d
Simplify the the facet types 2020-11-13 11:46:48 +01:00
Clément Renault
466fb601d6
Faceted fields settings must specify the facet type 2020-11-13 11:46:48 +01:00
Clément Renault
ebe7087bff
Introduce the faceted fields setting 2020-11-11 17:08:18 +01:00
Clément Renault
72f18759ba
Introduce getters and setters for the facet fields ids facet types 2020-11-11 16:26:22 +01:00
Clément Renault
92ec908303
Introduce the facet field id values engine database 2020-11-11 16:06:33 +01:00
Clément Renault
e0058c1125
Introduce codecs for facet types (string, f64, u64, i64) 2020-11-11 15:48:24 +01:00