Commit Graph

4110 Commits

Author SHA1 Message Date
Clément Renault
a960c325f3
feat: Make query strings support cjk kanjis 2019-02-23 14:57:13 +01:00
Clément Renault
a799470997
fix: Change the tokenizer to mesure cjk chars positions 2019-02-22 23:06:42 +01:00
Clément Renault
10414791a2
fix: Remove debug println from the tokenizer 2019-02-22 22:34:37 +01:00
Clément Renault
743974e60d
Merge pull request #118 from Kerollmops/tokenizer-support-kanjis
Make the Tokenizer support Kanjis
2019-02-22 20:16:55 +01:00
Clément Renault
0e267cae4b
feat: Make the Tokenizer support Kanjis 2019-02-22 19:37:19 +01:00
Clément Renault
12a352ae2f
Merge pull request #117 from Kerollmops/tokenizer-support-parentheses
Make the tokenizer support parentheses
2019-02-22 19:36:15 +01:00
Clément Renault
5070b27728
feat: Make the tokenizer support parentheses
Interpreting them as hard ponctuation (like a dot).
2019-02-22 18:18:17 +01:00
Clément Renault
7a6b734078
Merge pull request #116 from Kerollmops/raw-field-value-getter
Allow users to retrieve the raw field value of a document
2019-02-22 18:02:46 +01:00
Clément Renault
24823da6f7
feat: Allow users to retrieve the raw field value of a document 2019-02-22 15:30:20 +01:00
Clément Renault
8701cb3a8f
Merge pull request #115 from qdequele/database-path
Add accessor for database path and index path
2019-02-22 15:11:40 +01:00
Quentin de Quelen
315fc1fbe3 feat: Add accessor for database and index path 2019-02-22 13:49:04 +01:00
Clément Renault
23833bac10
Merge pull request #114 from Kerollmops/hot-fix-ranked-attribute
Do not error when an attribute is registered for ranking
2019-02-21 23:17:10 +01:00
Clément Renault
8235b6efc9
fix: Do not error when an attribute is registered for ranking 2019-02-21 20:14:08 +01:00
Clément Renault
7f937eea5a
Merge pull request #113 from Kerollmops/hot-fix-query-builder
Remove the QueryBuilder boxed criteria default static restriction
2019-02-21 20:11:10 +01:00
Clément Renault
a1cf634ac1
feat: Remove the QueryBuilder boxed criteria default static restriction 2019-02-21 19:26:22 +01:00
Clément Renault
c86472e997
Merge pull request #112 from Kerollmops/bump-version
Bump version to 0.3.1
2019-02-21 15:18:37 +01:00
Clément Renault
26cb398a6f
chore: Bump version to 0.3.1 2019-02-21 14:52:40 +01:00
Clément Renault
f6e664d298
Merge pull request #111 from qdequele/config
Add a config per index
2019-02-21 14:39:37 +01:00
Quentin de Quelen
9437cecf87 chore: Use Default derive on Config struct 2019-02-21 14:01:55 +01:00
Quentin de Quelen
13309511b3 chore: Use serde derive lowercase on RankingOrdering 2019-02-21 14:01:55 +01:00
Quentin de Quelen
1941cb16c0 feat: Add Config.update_with(_) method to merge 2 config 2019-02-21 14:01:55 +01:00
Quentin de Quelen
55823c5d5d feat: add admin key on config 2019-02-21 14:01:55 +01:00
Quentin de Quelen
4721da1679 feat: Add access key on config 2019-02-21 14:01:55 +01:00
Quentin de Quelen
482f750231 chore: Set config field pub 2019-02-21 14:01:55 +01:00
Quentin de Quelen
d5119db165 feat: Allow to retrieve config from Database and DatabaseView 2019-02-21 14:01:55 +01:00
Quentin de Quelen
37578ed74f feat: store config into database 2019-02-20 14:07:19 +01:00
Clément Renault
f5992ce822
Merge pull request #109 from Kerollmops/implement-text-cropping
Introduce text cropping that shows the first matches
2019-02-18 19:40:30 +01:00
Clément Renault
badb0035c5
feat: Introduce text cropping that shows the first match 2019-02-18 18:59:50 +01:00
Clément Renault
4bc14aa261
Merge pull request #108 from Kerollmops/refactor-index
Refactor the Index and Updates
2019-02-18 18:59:20 +01:00
Clément Renault
a0c4ec0be0
feat: Introduce the updated_documents methods 2019-02-18 18:01:40 +01:00
Clément Renault
264fffa826
feat: Replace the elapsed dependency by std::time::Instant 2019-02-17 16:37:45 +01:00
Clément Renault
bddb37e44f
feat: Move SharedData to its own module 2019-02-17 16:37:45 +01:00
Clément Renault
6393b0cbc0
feat: Prefer binary to exponential search 2019-02-17 16:37:45 +01:00
Clément Renault
a8df438814
feat: Implement WriteToBytes/FromSharedDataCursor 2019-02-17 16:37:44 +01:00
Clément Renault
8014857ebf
feat: Introduce the WriteToBytes trait 2019-02-17 16:37:44 +01:00
Clément Renault
9e7261a48f
feat: Introduce the FromSharedDataCursor trait 2019-02-17 16:37:44 +01:00
Clément Renault
c4e70d0475
feat: Introduce the SharedDataCursor type 2019-02-17 16:37:44 +01:00
Clément Renault
cbb0aaa217
feat: Introduce the Index structure along with the Events types 2019-02-17 16:36:47 +01:00
Clément Renault
ce50e74491
Merge pull request #107 from Kerollmops/update-dependencies
Update dependencies
2019-02-13 16:05:51 +01:00
Clément Renault
e103e1c277
chore: Replace the crossbeam::ArcCell by arc-swap::ArcSwap 2019-02-13 15:19:02 +01:00
Clément Renault
64929fe5dc
chore: Update slice-group-by to 0.2 2019-02-13 15:06:34 +01:00
Clément Renault
b108f1e6c9
Merge pull request #106 from Kerollmops/fix-criterion
Fix the SumOfTypos and WordsProximity criteria
2019-02-12 22:06:32 +01:00
Clément Renault
58b417e045
feat: Replace the linear_group_by by the new linear_group method 2019-02-12 21:23:36 +01:00
Clément Renault
2e5a616d8e
fix: Compute the proximity on the words with the min distance 2019-02-12 21:22:45 +01:00
Clément Renault
092d446a7e
chore: Update the slice-group-by dependency 2019-02-12 21:22:45 +01:00
Clément Renault
85a1f126bf
fix: Make the SumOfTypos criterion use a more clever algorithm 2019-02-12 21:22:42 +01:00
Clément Renault
cf58cf86da
Merge pull request #105 from Kerollmops/custom-ranking-field-into-hashmap
Save the custom ranking field into an HashMap
2019-02-11 17:36:26 +01:00
Clément Renault
db6210c7ee
feat: Introduce the Number type 2019-02-11 16:58:44 +01:00
Clément Renault
83cd071827
feat: Introduce the SortByAttr custom ranking helper 2019-02-11 16:55:31 +01:00
Clément Renault
084c3a95b6
feat: Add a new ranked attribute to the schema 2019-02-11 16:55:30 +01:00