Commit Graph

115 Commits

Author SHA1 Message Date
aa3d059363 feat: Allow filtering on DistinctQueryBuilder 2018-12-29 22:30:41 +01:00
e2a9dbc404 feat: Introduce filtering methods for Distinct/QueryBuilder 2018-12-29 22:30:40 +01:00
36ef9581aa feat: Return the database view for each update 2018-12-29 21:07:01 +01:00
f4b04dfb72 feat: Prefer doing DatabaseView updates atomically 2018-12-29 20:52:00 +01:00
8412c14b5b feat: Schema can be toml de/serialized 2018-12-28 19:24:50 +01:00
b27f632e14 feat: Make the Attribute and WordArea errors recoverable 2018-12-28 16:15:22 +01:00
fa238f21ef feat: Move Database to its own module 2018-12-27 11:21:47 +01:00
444a4c1af7 feat: Make the schema consider document ids 2018-12-27 11:21:47 +01:00
b32c96cdc9 feat: Introduce a WordArea struct
Useful to highlight matching areas in the original text.
2018-12-24 15:58:46 +01:00
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
4a310c31ab feat: Allow query distinct a range of documents 2018-12-18 14:00:30 +01:00
d0ee5f12a0 feat: Introduce the BufferedDistinctMap struct 2018-12-18 14:00:30 +01:00
7aafba67ed feat: Allow querying a range of documents 2018-12-18 14:00:29 +01:00
89c4af0cc2 chore: Clean up dependencies and avoid custom ones 2018-12-17 16:02:20 +01:00
cdce016f7c feat: Improve the Schema performances 2018-12-15 21:17:55 +01:00
e15d5e6d93 feat: Improve the query distinct performances 2018-12-13 11:54:47 +01:00
d3a67476e0 feat: Rename registers methods of DistinctMap 2018-12-13 11:54:09 +01:00
5a2d8a2395 feat: Reexport the internal rocksdb 2018-12-13 11:52:34 +01:00
df2b6a3e74 feat: Consider the last query word be a prefix
if the last word is not followed by a space.
2018-12-11 17:43:27 +01:00
b5df87a403 feat: Introduce the Criteria type 2018-12-10 20:17:57 +01:00
d615f89c56 feat: Introduce the SortBy help structure
This structure help ranking documents using stored attributes.
2018-12-10 20:17:52 +01:00
23cce69dc5 feat: Introduce the CriteriaBuilder 2018-12-10 20:15:02 +01:00
671bd3374f fix: Break the proper loop when bucket sorting 2018-12-10 15:14:15 +01:00
d8cfac914a feat: Implement a better automaton builder
This new implementation only allows the last word of a query string to be a prefix.
2018-12-10 12:16:24 +01:00
916b46c839 feat: Allow dumping the database, useful for full snapshot 2018-12-10 11:09:09 +01:00
6cb1bfd815 feat: Use sdset Set primitives everywhere possible 2018-12-09 14:18:23 +01:00
06ba82cfa8 feat: Database holds a DatabaseView and sync update ingestions 2018-12-09 13:42:56 +01:00
0e825e05bb feat: Make the DatabaseView become Sync + Send 2018-12-07 17:59:03 +01:00
bec463a61a fix: Update the DatabaseView to retrieve the index at creation
remove this computation from the QueryBuilder
2018-12-07 16:29:39 +01:00
7c98771068 fix: Change the way the iterator upper bound is computed 2018-12-07 15:35:59 +01:00
4626c77eac fix: Change the way the BTreeMap store entries 2018-12-07 15:12:15 +01:00
9342290afe feat: Simplify the steps to query the database 2018-12-07 14:41:06 +01:00
8bee31078d chore: Update the module hierarchy 2018-12-07 12:22:51 +01:00
2c3d71dd8f fix: Improve the bucket sort algorithm 2018-12-07 11:53:17 +01:00
731ed11153 feat: Index and store/serialize attributes while creating the update 2018-12-07 11:32:27 +01:00
442834c28f chore: Remove the MapSerializer temporarily 2018-12-06 17:23:01 +01:00
b2cec98805 feat: Implemented a basic deserialiazation 2018-12-06 17:22:54 +01:00
6c7a6c5219 feat: Implement DoubleEnded/ExactSizeIterator on DocumentIter 2018-12-06 17:22:25 +01:00
6f8dbbde9a feat: Implement the create/open/ingest_file Database methods 2018-12-06 17:22:20 +01:00
42b0cf68eb feat: Move the database Deserializer in its own module 2018-12-06 17:22:19 +01:00
a5b80c72ae feat: Move the DatabaseView in its own module 2018-12-06 17:22:19 +01:00
8563c25d62 feat: Move DocumentKey/Attr to their own module 2018-12-06 17:22:19 +01:00
3d0b334942 feat: Introduce the DocumentKey and DocumentKeyAttr structs 2018-12-06 17:22:07 +01:00
700d625c93 feat: Introduce the Database and DatabaseView 2018-12-06 17:20:14 +01:00
e559f7130c feat: Replace the fnv hashmap by the hashbrown one 2018-12-02 13:11:02 +01:00
51cc69342f feat: Compacting "data-index" to avoid calling the merge operator 2018-12-02 13:06:07 +01:00
c8aee7ed7a fix: Make the merge operator work 2018-12-02 12:00:49 +01:00
9a67db0989 test: Add some tests to DocIndexes 2018-12-02 12:00:49 +01:00
5829d08bc0 chore: Avoid using the external library Itertools 2018-12-02 12:00:49 +01:00
2719f1ad3b feat: Introduce the PositiveUpdate 2018-12-02 12:00:49 +01:00