Commit Graph

151 Commits

Author SHA1 Message Date
Clément Renault
78786a0007
feat: Introduce binary group by in the query builder 2019-01-10 20:13:40 +01:00
Clément Renault
ac347d788c
feat: Make multiple document updates shadow themselves 2019-01-10 15:25:24 +01:00
Clément Renault
e31afc2da2
chore: Move the WordArea type to its own module 2019-01-10 13:37:22 +01:00
Clément Renault
77c252e12a
chore: Move the Attribute type to its own module 2019-01-10 11:59:42 +01:00
Clément Renault
b53ef08d05
feat: Make WordArea be based on char index and length 2019-01-09 20:14:08 +01:00
Quentin de Quelen
8e5f834625 chore: remove assert on Attribute::new() 2019-01-08 18:46:55 +01:00
Clément Renault
de59ea495d
feat: Log some update steps 2019-01-06 22:49:12 +01:00
Clément Renault
966eda8ae5
feat: Do the sum of typos using usizes 2019-01-06 22:49:12 +01:00
Clément Renault
32f8908d71
feat: Reintroduce stopwords for the serializer 2019-01-06 22:49:11 +01:00
Clément Renault
f00b978801
Revert "feat: Pre-compute matches query index groups"
This reverts commit 039a9a4cc7.
2019-01-06 21:54:49 +01:00
Clément Renault
a78b5d225f
Revert "feat: Allow Matches to be constructed"
This reverts commit d21406a939.
2019-01-06 21:44:53 +01:00
Clément Renault
f32a59720d
Revert "feat: Introducing the Matches as_matches method"
This reverts commit ef7ba96d4a.
2019-01-06 21:44:53 +01:00
Clément Renault
2cc5fbde1a
Revert "feat: Introduce multiple Iterator impl for Matches"
This reverts commit c594597a01.
2019-01-06 21:44:53 +01:00
Clément Renault
34d2850d28
Revert "feat: Prefer using ranges and not using unreachable!"
This reverts commit d899b86603.
2019-01-06 21:44:51 +01:00
Clément Renault
7f35b971f0
feat: Log the total number of documents to rank 2019-01-06 15:02:53 +01:00
Clément Renault
c74caa0f82
feat: Sum usizes instead of little u16/u32 2019-01-06 13:54:14 +01:00
Clément Renault
d899b86603
feat: Prefer using ranges and not using unreachable! 2019-01-06 13:54:14 +01:00
Clément Renault
0d07af3caf
fix: Filter and count the exact matching words 2019-01-06 13:54:13 +01:00
Clément Renault
c594597a01
feat: Introduce multiple Iterator impl for Matches 2019-01-06 13:54:13 +01:00
Clément Renault
ef7ba96d4a
feat: Introducing the Matches as_matches method 2019-01-06 13:54:13 +01:00
Clément Renault
d21406a939
feat: Allow Matches to be constructed 2019-01-06 13:54:13 +01:00
Clément Renault
039a9a4cc7
feat: Pre-compute matches query index groups 2019-01-06 11:11:55 +01:00
Clément Renault
7f5e6c5b6e
test: Add test to the DocumentKeyAttr slice repr 2019-01-02 21:48:58 +01:00
Clément Renault
c05fab783a
fix: Write and Read DocumentKeyAttr in big endian 2019-01-02 17:53:53 +01:00
Clément Renault
95dc6fe904
feat: Rework the UpdateBuilder struct 2019-01-02 17:53:52 +01:00
Clément Renault
1d67012aa5
chore: Clean up some database functions 2019-01-01 01:40:20 +01:00
Clément Renault
7845292ea8
chore: Clippy pass 2018-12-31 23:20:30 +01:00
Clément Renault
dfa19582a2
test: Add benchmarks to mesure the words proximity criterion 2018-12-31 21:18:42 +01:00
Clément Renault
87ec95f7a0
test: Add benchmarks to mesure the database 2018-12-31 21:18:37 +01:00
Clément Renault
20b5a6a06e
doc: Add examples for runtime defined data and Schema 2018-12-31 20:44:33 +01:00
Clément Renault
21bb38c3b0
test: Add more tests for updates ingestion 2018-12-31 19:27:21 +01:00
Clément Renault
64d53ee1bd
chore: Rework the data module structures
being able to be constructed from SharedData
2018-12-31 19:27:21 +01:00
Clément Renault
c022fa3fca
chore: Move serde related structs to their module 2018-12-31 19:26:28 +01:00
Clément Renault
0080bf486f
feat: Introduce the new Index structure
replacing the old ugly Blob system
2018-12-31 19:26:27 +01:00
Clément Renault
6bd779f9ae
feat: Improve the deserialization time of a Blob 2018-12-31 13:15:37 +01:00
Clément Renault
7132c3be89
feat: Allow filtering on QueryBuilder 2018-12-29 22:30:41 +01:00
Clément Renault
aa3d059363
feat: Allow filtering on DistinctQueryBuilder 2018-12-29 22:30:41 +01:00
Clément Renault
e2a9dbc404
feat: Introduce filtering methods for Distinct/QueryBuilder 2018-12-29 22:30:40 +01:00
Clément Renault
36ef9581aa
feat: Return the database view for each update 2018-12-29 21:07:01 +01:00
Clément Renault
f4b04dfb72
feat: Prefer doing DatabaseView updates atomically 2018-12-29 20:52:00 +01:00
Clément Renault
8412c14b5b
feat: Schema can be toml de/serialized 2018-12-28 19:24:50 +01:00
Clément Renault
b27f632e14
feat: Make the Attribute and WordArea errors recoverable 2018-12-28 16:15:22 +01:00
Clément Renault
fa238f21ef
feat: Move Database to its own module 2018-12-27 11:21:47 +01:00
Clément Renault
444a4c1af7
feat: Make the schema consider document ids 2018-12-27 11:21:47 +01:00
Clément Renault
b32c96cdc9
feat: Introduce a WordArea struct
Useful to highlight matching areas in the original text.
2018-12-24 15:58:46 +01:00
Clément Renault
4ebae7784c
feat: Create a strong DocumentId type
Forcing it to be something internal will permit to avoid possible miss comparisons to be done with other types.
2018-12-24 12:42:24 +01:00
Clément Renault
4a310c31ab
feat: Allow query distinct a range of documents 2018-12-18 14:00:30 +01:00
Clément Renault
d0ee5f12a0
feat: Introduce the BufferedDistinctMap struct 2018-12-18 14:00:30 +01:00
Clément Renault
7aafba67ed
feat: Allow querying a range of documents 2018-12-18 14:00:29 +01:00
Clément Renault
89c4af0cc2
chore: Clean up dependencies and avoid custom ones 2018-12-17 16:02:20 +01:00