Commit Graph

535 Commits

Author SHA1 Message Date
Clément Renault
89df496f0c feat: Separate highlights from matches to make the code easier to follow 2019-08-16 11:25:42 +02:00
Clément Renault
9959f2e952 feat: Move the RawDocument type to its own module 2019-08-16 11:25:42 +02:00
Clément Renault
795557c046 feat: Remove query splitting from the automaton generation 2019-08-16 11:25:42 +02:00
Clément Renault
225a3bf184 test: Produce tests that work with the new cumulative word index system 2019-08-16 11:25:42 +02:00
Clément Renault
e65d7418b7 feat: Remove the query index from the Automaton type 2019-08-16 11:25:42 +02:00
Clément Renault
f478bbf826 feat: Introduce the QueryEnhancer in the query synonym system 2019-08-16 11:25:42 +02:00
Clément Renault
5e691c2140 feat: Introduce the QueryEnhancer type 2019-08-16 11:25:42 +02:00
Clément Renault
e0cadaa68d
Merge pull request #165 from meilisearch/reorder-schema-attributes
Reorder schema attributes
2019-07-01 16:12:33 +02:00
Clément Renault
9175e4686b
feat: Collect TmpMatches only on tests, producing data useful for tests 2019-07-01 14:55:47 +02:00
Clément Renault
e8afca614c
chore: Little clean ups of meilidb-core 2019-07-01 14:34:06 +02:00
Clément Renault
4f4b630ae9
fix: Make the examples compile with the new Highlight type 2019-07-01 12:06:17 +02:00
Clément Renault
6b6db2f8e6
feat: Introduce the Highlight type to simplify the data oriented design 2019-07-01 12:06:16 +02:00
Clément Renault
b7ed22bc59
feat: Introduce on the fly attributes reordering with meilidb-core 2019-07-01 12:03:31 +02:00
Clément Renault
97cc3c7cce
Merge pull request #166 from meilisearch/split-query-words
Split query words
2019-06-28 18:30:13 +02:00
Clément Renault
f5d52396f5
feat: Support query words splits 2019-06-28 18:04:35 +02:00
Clément Renault
9cc154da05
chore: Rewrite tests to use iterators and be easily testable 2019-06-28 18:04:35 +02:00
Clément Renault
5aa49d232c
feat: Rewrite Automaton generation related code 2019-06-28 18:04:35 +02:00
Clément Renault
1cb42cbb30
Merge pull request #164 from meilisearch/concat-query-words
Support query words concatenation
2019-06-28 18:03:49 +02:00
Clément Renault
9f320590d3
feat: Support query words concatenation 2019-06-27 10:14:17 +02:00
Clément Renault
1b0fd2e0ba
Merge pull request #160 from meilisearch/synonyms
Support all types of synonyms
2019-06-26 14:59:45 +02:00
Clément Renault
b249b2a81b
feat: Support removing specific synonym alternatives 2019-06-26 10:45:51 +02:00
Clément Renault
0a5d4eb7ed
feat: Normalize synonym strings and query strings to search for synonyms 2019-06-26 10:45:51 +02:00
Clément Renault
3dcbc737f3
feat: Make synonyms be not considered like exact matches 2019-06-26 10:45:51 +02:00
Clément Renault
43f11e929d
fix: Do not trigger a synonym when its not the last word and is a prefix 2019-06-26 10:45:51 +02:00
Clément Renault
8f2a551cca
feat: Trigger synonym replacement only when the last word is tipped 2019-06-26 10:45:50 +02:00
Clément Renault
8f044c6853
fix: Only create non-prefix DFA when generating synonyms alternatives 2019-06-26 10:45:50 +02:00
Clément Renault
a76c00a787
feat: Create types to edit synonyms and keep them in the database 2019-06-26 10:45:50 +02:00
Clément Renault
0633f16b4d
feat: Make multi-word support multi-word synonyms 2019-06-26 10:45:50 +02:00
Clément Renault
59fafb8b30
feat: Support one word has multi-word alternatives 2019-06-26 10:45:50 +02:00
Clément Renault
d2bd99cc2a
fix: Append DocIndexes when building InMemorySetStore from an Iterator 2019-06-26 10:45:50 +02:00
Clément Renault
62930ecc4e
feat: Deduplicate automatons when synonyms produce duplicated ones 2019-06-26 10:45:49 +02:00
Clément Renault
6cb57aa8a4
feat: Unique word has multi-word synonyms basically work 2019-06-26 10:45:49 +02:00
Clément Renault
9861c3878e
tests: Add more tests about synonyms 2019-06-26 10:45:49 +02:00
Clément Renault
707d7b062b
feat: Made query handle synonyms via the Store 2019-06-26 10:45:49 +02:00
Clément Renault
18736bdcd0
feat: Introduce the synonyms concept to the Store trait 2019-06-26 10:45:49 +02:00
Clément Renault
e8b2e86007
feat: Introduce a basic way to handle synonyms 2019-06-26 10:45:48 +02:00
Clément Renault
ae8b4f56f2
Merge pull request #163 from meilisearch/export-compute-docid
Expose a function to compute the DocumentId from an Hashable value
2019-06-25 12:25:38 +02:00
Clément Renault
28a0074497
feat: Expose a function to compute the DocumentId from an Hashable value 2019-06-25 11:21:12 +02:00
Clément Renault
71c039db09
Merge pull request #162 from meilisearch/trustful-hash
Prefer using a reliable SipHash to compute document ids
2019-06-22 11:51:52 +02:00
Clément Renault
15646c258b
fix: Prefer using a reliable SipHash to compute document ids 2019-06-22 11:22:21 +02:00
Clément Renault
25a5605b35
Merge pull request #161 from meilisearch/remove-tide
Remove tide as it break compilation on the latest nightly
2019-06-18 14:04:47 +02:00
Clément Renault
b630e32c6a
fix: Remove tide as it break compilation on the latest nightly 2019-06-18 13:40:46 +02:00
Clément Renault
c39254bf98
Merge pull request #159 from meilisearch/create-specific-schema-crate
Move the Schema to its own workspace crate
2019-06-03 09:17:14 +02:00
Clément Renault
994a0e78f1
feat: Move the Schema to its own workspace crate 2019-05-29 15:37:28 +02:00
Clément Renault
ab2ca15c5c
Merge pull request #158 from meilisearch/moving-back-to-rocksdb
Moving back to RocksDB
2019-05-29 14:56:55 +02:00
Clément Renault
07f447c457
feat: Force RocksDB compaction 2019-05-28 17:38:59 +02:00
Clément Renault
62c8f1ba04
feat: Fix the index opening when index already exists 2019-05-26 11:36:47 +02:00
Clément Renault
e08edc2d6b
feat: Introduce some stats to ease debugging 2019-05-25 12:12:24 +02:00
Clément Renault
a147c09b06
feat: Make more functions accessible on the custom settings 2019-05-24 14:37:04 +02:00
Clément Renault
9fca74443e
feat: Wrap the database index access to improve usability 2019-05-24 14:26:05 +02:00