Commit Graph

10042 Commits

Author SHA1 Message Date
Clément Renault
6c9a238973
Merge pull request #229 from meilisearch/cargo-fmt-clippy
Cargo pass of fmt and clippy
2019-10-18 13:50:30 +02:00
Clément Renault
cf5e228288
Update the CI to check the fmt and clippy 2019-10-18 13:33:38 +02:00
Clément Renault
9dce41ed6b
Cargo clippy pass 2019-10-18 13:30:06 +02:00
Clément Renault
ca26a0f2e4
Cargo fmt pass 2019-10-18 13:30:06 +02:00
Clément Renault
47d777c8f7
Merge pull request #228 from meilisearch/copy-and-compact-db
Introduce a function to copy and compact a database env
2019-10-18 13:21:55 +02:00
Clément Renault
2ef51f7df9
Introduce a function to copy and compact a database env 2019-10-18 12:56:56 +02:00
Clément Renault
2d7db2a80f
Merge pull request #227 from meilisearch/damerau-distance-cost-1
Make the levenshtein algorithm consider transpositions to cost 1
2019-10-18 10:46:42 +02:00
Clément Renault
526202ec8b
Make the levenshtein algorithm consider transpositions to cost 1 2019-10-17 18:07:15 +02:00
Clément Renault
86ab729356
Merge pull request #226 from meilisearch/fix-rotxn-number-documents
Use a read-only transaction to retrieve the number of documents
2019-10-17 17:39:56 +02:00
Clément Renault
dd74af4c70
Use an RoTxn to retrieve the number of documents 2019-10-17 17:30:54 +02:00
Clément Renault
b79a8457f9
Merge pull request #225 from meilisearch/improve-query-builder-pattern
Rework the QueryBuilder to make it easier to construct and use
2019-10-17 15:59:38 +02:00
Clément Renault
d941c512db
Rework the QueryBuilder to make it easier to construct and use 2019-10-17 14:45:21 +02:00
Clément Renault
0ff73039e5
Merge pull request #224 from meilisearch/improve-automaton-producer
Improve the automaton producer
2019-10-17 13:51:44 +02:00
Clément Renault
2ea3e9b081 Improve the automaton producer quality by changing the production order 2019-10-17 13:19:08 +02:00
Clément Renault
da71821204 Make the example take the fetch-timeout-ms argument into account 2019-10-17 13:19:08 +02:00
Clément Renault
16f0914f09
Merge pull request #223 from meilisearch/fix-update-serialization
Fix updates serialization to use serde_json instead of bincode
2019-10-17 13:05:25 +02:00
Clément Renault
1cf6afad9a
Fix updates serialization to use serde_json instead of bincode 2019-10-17 12:31:46 +02:00
Clément Renault
261c21b057
Merge pull request #222 from meilisearch/update-readme
Update the README
2019-10-16 18:22:09 +02:00
Clément Renault
925a22b644
Update the README 2019-10-16 18:04:45 +02:00
Clément Renault
dc5c42821e
Merge pull request #221 from meilisearch/zerocopy-lmdb
Moving to zerocopy-lmdb
2019-10-16 17:27:21 +02:00
Clément Renault
1667e1b32f
Move to zerocopy-lmdb 2019-10-16 17:12:55 +02:00
Clément Renault
c332c7bc70
Merge pull request #220 from meilisearch/all-documents-fields-iter
Introduce an Iterator to visit all documents attributes counts
2019-10-15 15:42:30 +02:00
Clément Renault
5e8d432614
Introduce an Iterator to visit all documents attributes counts 2019-10-15 15:27:18 +02:00
Clément Renault
f6282ca031
Merge pull request #219 from meilisearch/current-update-id
Introduce an Index mathod to retrieve the currently processed update
2019-10-15 15:26:22 +02:00
Clément Renault
3278d22279
Introduce an Index mathod to retrieve the currently processed update 2019-10-15 14:54:52 +02:00
Clément Renault
c9618793e3
Merge pull request #218 from meilisearch/update-readme
Change the README to refer to LMDB instead of RocksDB
2019-10-15 11:40:10 +02:00
Clément Renault
1ef785a9ef
Change the README to refer to LMDB instead of RocksDB 2019-10-15 11:39:49 +02:00
Clément Renault
fdc98f9ef3
Merge pull request #217 from meilisearch/improve-exactness-criterion
Improve the exactness criterion
2019-10-15 11:37:33 +02:00
Clément Renault
0de37819b4
Simplify the document fields counts deletion 2019-10-15 11:17:23 +02:00
Clément Renault
9ff92c5d15
Update the exact criterion to use the documents fields counts 2019-10-14 18:48:54 +02:00
Clément Renault
e629f51af4
Use the documents_fileds_count store in the QueryBuilder 2019-10-14 18:48:32 +02:00
Clément Renault
b377003192
Compute and store the number of words in documents fields 2019-10-14 14:07:10 +02:00
Clément Renault
a7e40a78c1
Introduce the DocumentsFieldsCounts store 2019-10-14 14:06:34 +02:00
Clément Renault
9cdda8c46a
Make the RawIndexer index_text method return the number of words 2019-10-14 13:56:52 +02:00
Clément Renault
b7ea812dcc
Merge pull request #216 from meilisearch/get-ride-of-messagepack
Get ride of rust messagepack (rmp)
2019-10-11 16:41:37 +02:00
Clément Renault
710ab2386c
Get ride of rust messagepack (rmp) 2019-10-11 16:17:37 +02:00
Clément Renault
81bf6d583d
Merge pull request #214 from meilisearch/add-customs-updates
Add customs updates
2019-10-11 15:42:08 +02:00
Clément Renault
02575a2ef6
Introduce customs updates 2019-10-11 15:33:35 +02:00
Clément Renault
da6ab2753e
Rename Update/Type SchemaUpdate into Schema 2019-10-11 13:49:17 +02:00
Clément Renault
97de72de83
Merge pull request #213 from meilisearch/do-not-commit-ourselves
Do not commit updates, let the user do
2019-10-11 11:51:51 +02:00
Clément Renault
12b80e08be
Do not commit updates, let the user do 2019-10-11 11:29:47 +02:00
Clément Renault
4b130fa2e5
Merge pull request #212 from meilisearch/fix-documents-ids-iter
Fix the DocumentsIdsIter and do not iter on an Option
2019-10-10 18:43:01 +02:00
Clément Renault
9dca18f966
Fix the DocumentsIdsIter and do not iter on an Option 2019-10-10 18:32:22 +02:00
Clément Renault
543b65b09b
Merge pull request #211 from meilisearch/fix-documents-deletion-generic-param
Reemove the useless generic documents_deletion parameter
2019-10-10 17:09:49 +02:00
Clément Renault
9eb27811b1
Remove the useless generic documents_deletion parameter 2019-10-10 16:16:53 +02:00
Clément Renault
7c3d93e5da
Merge pull request #210 from meilisearch/query-builder-with-criteria
Rename main_store into common_store
2019-10-10 15:40:56 +02:00
Clément Renault
485480560a
Add method to create a query builder along with criterion 2019-10-10 15:32:08 +02:00
Clément Renault
0ac927794a
Merge pull request #209 from meilisearch/rename-main-to-common-index
Rename main_store into common_store
2019-10-10 15:31:25 +02:00
Clément Renault
e09d3b654d
Rename main_store into common_store 2019-10-10 15:22:23 +02:00
Clément Renault
c5af5de4f0
Merge pull request #208 from meilisearch/improve-open-or-create-index
Create two open and create index functions
2019-10-10 13:59:08 +02:00