2086 Commits

Author SHA1 Message Date
Kerollmops
9fcbc83ebc
Accept and mirror compression of documents additions 2020-12-22 13:42:42 +01:00
Clément Renault
cd158d4cde
Merge pull request #61 from meilisearch/update-handler
create update handler trait
2020-12-22 13:42:00 +01:00
mpostma
49a016b53d create update handler trait
fix type inference error
2020-12-22 12:59:15 +01:00
Clément Renault
5039528b56
Merge pull request #59 from meilisearch/improve-bytes-structopt
Use the byte-unit crate to ease library usage
2020-12-20 14:52:39 +01:00
Kerollmops
77e951e933
Use the byte-unit crate to ease library usage 2020-12-20 12:00:37 +01:00
Clément Renault
b032ceb5d4
Merge pull request #56 from meilisearch/asc-desc-criteria-non-faceted
Return non-faceted documents to complete the requested limit
2020-12-17 14:34:36 +01:00
Clément Renault
914eab12f7
Return non-faceted documents as remaining results 2020-12-17 13:57:07 +01:00
Clément Renault
0dec761e21
Merge pull request #54 from meilisearch/compress-updates
Compress updates content using gzip
2020-12-17 11:06:31 +01:00
Clément Renault
5a23417499
Compress updates content using gzip 2020-12-17 10:59:58 +01:00
Clément Renault
cd5605bb86
Merge pull request #50 from meilisearch/fix-asc-desc-criterion
Fix the Asc/Desc criteria
2020-12-13 11:59:11 +01:00
Clément Renault
0e5609d40e
Limit the number of elements after reversing it 2020-12-12 14:21:27 +01:00
Clément Renault
9d966a28d3
Merge pull request #47 from meilisearch/fix-grenad-write-bug
Bump grenad to fix an indexing bug
2020-12-05 17:18:49 +01:00
Clément Renault
e7f2ab9138
Bump grenad to fix an indexing bug 2020-12-05 16:39:15 +01:00
Clément Renault
9628da2d17
Merge pull request #40 from meilisearch/asc-desc-faceted-fields
Ascending and descending custom ranking
2020-12-04 12:08:22 +01:00
Clément Renault
026f54dcf7
Use the field id docid facet value database when sorting documents 2020-12-04 12:03:20 +01:00
Clément Renault
3cdf14d4c5
Introduce the field-id-docid-facet-values database 2020-12-04 12:03:20 +01:00
Clément Renault
4ffbddf21f
Introduce debug info for the time it takes to fetch candidates 2020-12-04 12:03:20 +01:00
Clément Renault
13217f072b
Use the FacetRange iterator in the facet exploring function 2020-12-04 12:03:20 +01:00
Clément Renault
0959e1501f
Introduce the FacetRevRange Iterator struct 2020-12-04 12:02:23 +01:00
Clément Renault
58d039a70d
Introduce the FacetIter Iterator 2020-12-04 12:02:23 +01:00
Clément Renault
d8e25a0863
Order documents by the first custom criterion on basic searches 2020-12-04 12:02:23 +01:00
Clément Renault
e0cc7faea1
Use the facet ordered to the search 2020-12-04 12:02:23 +01:00
Clément Renault
61b383f422
Introduce the criteria update setting 2020-12-04 12:02:22 +01:00
Clément Renault
f8f33d35e0
Add the criteria list to the index 2020-12-02 11:21:26 +01:00
Kerollmops
57e8e5c965
Move the FacetCondition to its own module 2020-12-02 11:21:26 +01:00
Clément Renault
ecc8bc8910
Introduce the FieldId u8 alias type 2020-12-02 11:19:45 +01:00
Clément Renault
0a63e69e04
Merge pull request #45 from meilisearch/infos-export-documents
Infos export documents
2020-12-02 10:50:54 +01:00
Clément Renault
16755b26e2
Make the export words FST export infos subcommand outputs to stdout 2020-12-02 10:43:22 +01:00
Kerollmops
85d51ab228
Introduce an infos subcommand to export documents from an index 2020-12-02 10:42:48 +01:00
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