Commit Graph

4475 Commits

Author SHA1 Message Date
Clément Renault
915f2e70a3
Merge pull request #125 from Kerollmops/limit-memory-usage
Limit memory usage
2019-03-05 16:17:56 +01:00
Clément Renault
aae301878c
fix: Flush the database after each WriteBatch injected 2019-03-05 14:55:57 +01:00
Clément Renault
383a49b44f
fix: Compact the whole database for each WriteBatch injected 2019-03-05 14:55:57 +01:00
Clément Renault
a45cc4b618
fix: Reduce the size of the DocIndex type 2019-03-05 14:55:57 +01:00
Clément Renault
aef7d7825f
Merge pull request #124 from Kerollmops/version-bump
Bump version to 0.3.2
2019-02-25 14:22:02 +01:00
Clément Renault
f28ce661af
chore: Bump version to 0.3.2 2019-02-25 13:56:23 +01:00
Clément Renault
74eb9c8d0f
Merge pull request #122 from Kerollmops/query-builder-no-view-dep
Remove the DatabaseView dependencies from the QueryBuilder
2019-02-24 16:56:12 +01:00
Clément Renault
d664221c64
feat: Remove the DatabaseView dependencies from the QueryBuilder 2019-02-24 16:25:28 +01:00
Clément Renault
58bff3d4ac
Merge pull request #123 from Kerollmops/update-deps
Update all the dependencies
2019-02-24 16:24:47 +01:00
Clément Renault
2c206eb98c
chore: Update all the dependencies 2019-02-24 16:00:03 +01:00
Clément Renault
19724e5af9
Merge pull request #121 from Kerollmops/no-cjk-unidecode
Do not save unidecoded cjk kanjis
2019-02-23 22:34:47 +01:00
Clément Renault
c9e0ad132c
feat: Do not save unidecoded cjk kanjis 2019-02-23 19:11:54 +01:00
Clément Renault
24f265a963
Merge pull request #120 from Kerollmops/custom-log10-function
Optimize the SumOfTypos criterion
2019-02-23 19:01:12 +01:00
Clément Renault
f8a743ee00
feat: Optimize the SumOfTypos criterion 2019-02-23 18:36:45 +01:00
Clément Renault
64971de7ed
Merge pull request #119 from Kerollmops/dont-be-hurry
Fix the tokenizer (next time don't be so hurry to merge)
2019-02-23 17:07:42 +01:00
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