Commit Graph

544 Commits

Author SHA1 Message Date
73286dc8bf Introduce the query tree data structure 2021-03-03 15:43:40 +01:00
4e84999f20 Merge pull request #80 from meilisearch/query_tree
Introduce the query tree data structure
2021-03-03 14:25:29 +01:00
411a118148 Avoid testing on nightly to fix a crate issue 2021-03-03 13:57:36 +01:00
240b02e175 Remove unused Operation constructors 2021-03-03 13:40:19 +01:00
a463ae821e Add methods optional_words and authorize_typos on the query tree 2021-03-03 13:40:19 +01:00
6d135beb21 Introduce the maximum_proximity helper function 2021-03-03 13:40:18 +01:00
6008f528d0 Introduce the maximum_typo helper function 2021-03-03 13:40:18 +01:00
1dc857a4b2 Fix the query tree optional word generation with phrases 2021-03-03 13:40:18 +01:00
4f19749252 Introduce the word_documents_count method on the Context trait 2021-03-03 13:40:18 +01:00
79a143b32f Introduce the query tree data structure 2021-03-03 13:40:18 +01:00
5f109e8589 Merge pull request #95 from meilisearch/helpers-crate
Introduce an helpers crate that export the database to stdout
2021-03-01 19:59:18 +01:00
9423310816 Introduce an helpers crate that export the database to stdout 2021-03-01 19:55:04 +01:00
68102fced8 Merge pull request #86 from meilisearch/clean-up-infos-crate
Clean up the infos crate
2021-03-01 19:54:21 +01:00
1eb7ce5cdb Improve the export-documents infos command by accepting internal ids 2021-03-01 19:48:01 +01:00
4884b324e6 Remove the useless external ids patch method in the infos crate 2021-03-01 19:48:01 +01:00
78bede1ffb Fix error displaying of the workspace members 2021-03-01 19:48:01 +01:00
b59fe77ec7 Avoid creating a default empty database in the search crate 2021-03-01 19:48:01 +01:00
45330a5e47 Avoid creating a default empty database in the infos crate 2021-03-01 19:48:00 +01:00
794fce7bff Merge pull request #91 from meilisearch/add-primary-key-to-fields-map
add primary key to fields_id_map when not present
2021-03-01 16:20:41 +01:00
e08b6b3ec7 add primary key to fields_id_map when not present 2021-03-01 16:10:16 +01:00
8dcb3e0c41 Merge pull request #90 from meilisearch/words-prefixes-update
Expose the WordsPrefixes update from the UpdateBuilder
2021-02-21 12:27:48 +01:00
c62d2f56d8 Expose an http route for the WordsPrefixes update 2021-02-21 12:16:53 +01:00
c318373b88 Expose the WordsPrefixes update on the UpdateBuilder 2021-02-21 12:15:35 +01:00
3090751dfc Merge pull request #94 from meilisearch/update-dependencies
Update dependencies
2021-02-21 12:08:18 +01:00
519b1cb5c9 Update dependencies 2021-02-21 10:26:04 +01:00
e62157e896 Merge pull request #88 from meilisearch/heed-error-word-documents-count
Return an heed error from the word_documents_count method
2021-02-18 15:05:00 +01:00
c2ffcc4bd1 Return an heed error from the word_documents_count method 2021-02-18 14:59:37 +01:00
09ca5d14c9 Merge pull request #87 from meilisearch/roaring-bitmap-length
Introduce fast methods to get roaring bitmap lengths
2021-02-18 14:52:40 +01:00
2f561c77f5 Introduce the word documents count method on the index 2021-02-18 14:35:14 +01:00
8d710c5130 Introduce heed codecs to retrieve the length of roaring bitmaps 2021-02-18 14:30:47 +01:00
fcfb39c5de Move the RoaringBitmap related codecs into a module 2021-02-18 13:56:28 +01:00
85c3d8aa52 Merge pull request #79 from meilisearch/prefix-caches
Introduce prefix databases
2021-02-17 11:27:15 +01:00
aa4d9882d2 Introduce the new words-prefixes-docids infos subcomand 2021-02-17 11:22:27 +01:00
49aee6d02c Fix the database-stats infos subcommand 2021-02-17 11:22:27 +01:00
7a0f86a04f Introduce an infos command to extract the words prefixes fst 2021-02-17 11:22:27 +01:00
a4a48be923 Run the words prefixes update inside of the indexing documents update 2021-02-17 11:22:26 +01:00
8788485924 Take the prefix databases into account in the infos subcommand 2021-02-17 11:22:26 +01:00
616ed8f73c Clean up the word prefix pair proximities when deleting documents 2021-02-17 11:22:26 +01:00
ea37fd821d Clean up the words prefixes when deleting documents and words 2021-02-17 11:22:25 +01:00
62eee9c69e Introduce the sorter_into_lmdb_database helper function 2021-02-17 11:12:39 +01:00
b5b89990eb Compute and write the word prefix pair proximities database 2021-02-17 11:12:38 +01:00
9b03b0a1b2 Introduce the word prefix pair proximity docids database 2021-02-17 11:12:38 +01:00
f365de636f Compute and write the word-prefix-docids database 2021-02-17 11:12:38 +01:00
ee5a60e1c5 Clear the words prefixes when clearing an index 2021-02-17 10:45:17 +01:00
5e7b26791b Take the words-prefixes into account while computing the biggest values 2021-02-17 10:45:17 +01:00
b3a21d5a50 Introduce the getters and setters for the words prefixes FST 2021-02-17 10:45:17 +01:00
48b470140b Merge pull request #84 from meilisearch/stringify-documents-ids
Stringify documents ids even when deleting documents
2021-02-15 21:30:51 +01:00
89ce4e74fe Do not change the primary key type when we serialize documents 2021-02-15 21:24:36 +01:00
69acdd437e Deserialize documents ids into JSON Values on deletion 2021-02-15 21:24:36 +01:00
b3776598d8 Add a test to check deletion of documents with number as primary key 2021-02-15 21:24:35 +01:00