Commit Graph

1648 Commits

Author SHA1 Message Date
Clément Renault
a842e647f7
Merge pull request #56 from Kerollmops/new-index-struct
New Index structure
2018-12-31 19:55:18 +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
a18401f47e
Merge pull request #53 from Kerollmops/query-builder-filter
Distinct/QueryBuilder filtering
2018-12-29 23:11:43 +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
a0a11faee5
Merge pull request #54 from Kerollmops/arccell-instead-of-rwlock
Prefer using ArcCell instead of RWLock for database updates
2018-12-29 22:29:35 +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
cf5d56e63a
Merge pull request #52 from Kerollmops/schema-toml
Schema can be de/serialized from a toml format
2018-12-28 19:59:40 +01:00
Clément Renault
8412c14b5b
feat: Schema can be toml de/serialized 2018-12-28 19:24:50 +01:00
Clément Renault
70772eca5c
Merge pull request #51 from Kerollmops/wordarea-attribute-fallible
Make the Attribute and WordArea errors recoverable
2018-12-28 18:26:19 +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
e3bfb866e5
Merge pull request #46 from Kerollmops/schema-considers-id
Schema considers document ids
2018-12-27 12:26:57 +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
2e5c5fad33
Merge pull request #45 from Kerollmops/index-length-in-docindex
Introduce the WordArea struct
2018-12-24 17:08:20 +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
62521262e8
Merge pull request #44 from Kerollmops/real-document-id-type
Create a real DocumentId type
2018-12-24 15:41:47 +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
a756ca5e3f
Merge pull request #39 from Kerollmops/readme-badges
Add badges to the README
2018-12-19 14:42:54 +01:00
Clément Renault
aa104fa253
doc: Add some funny badges to the README 2018-12-19 12:00:29 +01:00
Clément Renault
264718c1b9
Merge pull request #32 from Kerollmops/query-range
Improve the query interface
2018-12-18 16:51:48 +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
41b8f891b0
Merge pull request #36 from Kerollmops/clean-up-deps
Clean up dependencies and avoid custom ones
2018-12-17 16:22:13 +01:00
Clément Renault
89c4af0cc2
chore: Clean up dependencies and avoid custom ones 2018-12-17 16:02:20 +01:00
Clément Renault
8adfa0e431
Merge pull request #37 from Kerollmops/install-travisci
Add travis-ci to check the codebase
2018-12-17 16:01:42 +01:00
Clément Renault
c01613df40
chore: Add travis-ci to check the codebase 2018-12-17 15:52:49 +01:00
Clément Renault
26fbb46253
Merge pull request #33 from Kerollmops/fastest-schema
Improve the Schema performances
2018-12-15 22:32:44 +01:00
Clément Renault
cdce016f7c
feat: Improve the Schema performances 2018-12-15 21:17:55 +01:00
Clément Renault
e15d5e6d93
feat: Improve the query distinct performances 2018-12-13 11:54:47 +01:00
Clément Renault
d3a67476e0
feat: Rename registers methods of DistinctMap 2018-12-13 11:54:09 +01:00
Clément Renault
5a2d8a2395
feat: Reexport the internal rocksdb 2018-12-13 11:52:34 +01:00
Clément Renault
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
Clément Renault
f97f7f93f3
doc: Update the README 2018-12-11 16:17:22 +01:00
Clément Renault
2cbb943cbe
chore: Remove useless dependencies 2018-12-11 14:59:21 +01:00
Clément Renault
12863980d4
feat: Adapt the examples to the kaggle dataset 2018-12-11 14:59:15 +01:00
Clément Renault
b5df87a403
feat: Introduce the Criteria type 2018-12-10 20:17:57 +01:00
Clément Renault
d615f89c56
feat: Introduce the SortBy help structure
This structure help ranking documents using stored attributes.
2018-12-10 20:17:52 +01:00
Clément Renault
23cce69dc5
feat: Introduce the CriteriaBuilder 2018-12-10 20:15:02 +01:00
Clément Renault
5bebd4469c
chore: Add the "portable" feature flag 2018-12-10 19:59:24 +01:00
Clément Renault
df120df1cc
chore: Add the "simd" feature flag by default 2018-12-10 19:58:42 +01:00
Clément Renault
4bb80c1460
test: Update the examples 2018-12-10 15:30:28 +01:00
Clément Renault
671bd3374f
fix: Break the proper loop when bucket sorting 2018-12-10 15:14:15 +01:00