barrotsteindev
d864430bda
final edits
2020-12-10 11:08:15 +02:00
Paul Masurel
de60540e06
fixing compilation
2020-12-10 10:36:21 +02:00
barrotsteindev
ac704f2f22
WIP generic filter collector
2020-12-08 14:36:52 +02:00
barrotsteindev
c805871b92
better test
2020-11-25 14:25:49 +02:00
barrotsteindev
bc44543d8f
added TPredicate generic param and updated tests
2020-11-25 14:08:24 +02:00
Paul Masurel
db514208a7
Removed the SegmentCollector type from the Generics of the
...
FilterCollector
2020-11-25 14:08:24 +02:00
barrotsteindev
b6ff29e020
simplified FilterCollector#for_segment
2020-11-25 14:08:24 +02:00
barrotsteindev
7c94dfdc15
fmt
2020-11-25 14:08:24 +02:00
barrotsteindev
8782c0eada
updated docs
2020-11-25 14:08:24 +02:00
barrotsteindev
fea0ba1042
removed unnecessary static liftimes
2020-11-25 14:08:24 +02:00
barrotsteindev
027555c75f
added initial implementation for filter_collector
2020-11-25 14:08:24 +02:00
Paul Masurel
8d0e049261
Revert "Move SegmentUpdater::list_files() to Index"
2020-11-20 13:53:50 +09:00
Adrien Guillo
267e920a80
Move SegmentUpdater::list_files() to Index
...
... and make the method public
2020-11-17 17:54:18 -08:00
Paul Masurel
7f0e61b173
Refactoring of the skip index.
...
The skip index now identifies both the start and the end offset
of blocks. Checkpoints are compressed in blocks, reaching better
compression.
2020-11-17 16:05:11 +09:00
Paul Masurel
ce4c50446b
Merge pull request #937 from tantivy-search/guilload--cache-store-reader-blocks
...
Cache store reader blocks in an LRU fashion
2020-11-17 13:45:10 +09:00
Adrien Guillo
9ab25d2575
Cache store reader blocks in an LRU fashion
2020-11-16 19:09:10 -08:00
Paul Masurel
6d4b982417
Marked blockwand test as ignored.
...
- Using impl trait for iterating `matching_segments` in the termdict
merger
2020-11-16 13:44:14 +09:00
Paul Masurel
650eca271f
Merge pull request #932 from tantivy-search/fix-unit-test-file-watcher
...
Fixing unit test.
2020-11-13 11:47:15 +09:00
Paul Masurel
8ee55aef6d
Fixing unit test.
2020-11-13 09:01:45 +09:00
Paul Masurel
40d41c7dcb
Merge pull request #929 from tantivy-search/api-public-term-merger
...
Make field TermMerger API public
2020-11-12 14:11:53 +09:00
Paul Masurel
eef348004e
Closes #930 Minor bug.
...
Watch callback could be callback if the last watch handle was dropped
shortly before meta.json is called.
2020-11-11 15:51:23 +09:00
Paul Masurel
e784bbc40f
Update src/core/searcher.rs
...
Co-authored-by: Adrien Guillo <adrien.guillo@gmail.com >
2020-11-11 12:37:52 +09:00
Paul Masurel
b8118d439f
Make field TermMerger API public
2020-11-11 11:59:09 +09:00
Paul Masurel
a49e59053c
Making block wand test more robusts
2020-11-10 18:01:38 +09:00
Paul Masurel
41bb2bd58b
Merge pull request #926 from tantivy-search/guilload--directory-exists
...
Modified `Directory::exists` API to return `Result<bool, OpenReadError>`
2020-11-10 17:59:45 +09:00
Adrien Guillo
7fd6054145
Modified Directory::exists API to return Result<bool, OpenReadError>
2020-11-09 18:00:14 -08:00
Paul Masurel
6abf4e97b5
Merge pull request #925 from tantivy-search/postings-end-offset
...
Adding post stop offset to TermInfo.
2020-11-09 15:58:04 +09:00
Paul Masurel
d23aee76c9
Avoid loading fieldnorms when not necessary
2020-11-09 15:50:16 +09:00
Paul Masurel
726d32eac5
Merge pull request #924 from tantivy-search/guilload--implement-poll-watcher
...
Implement FileWatcher
2020-11-06 22:41:26 +09:00
Paul Masurel
b5f3dcdc8b
TermInfo contain the end_offset of the postings.
...
We slice the ReadOnlySource tightly.
2020-11-06 15:18:51 +09:00
Adrien Guillo
2875deb4b1
Implement FileWatcher
2020-11-05 20:08:15 -08:00
Paul Masurel
b2dfacdc70
Fixed bench and removed unnecessary public symbols.
2020-11-05 16:12:03 +09:00
Paul Masurel
36a0520a48
Added failing proptest and fixed it.
2020-11-05 15:40:00 +09:00
Paul Masurel
581c2bb718
Minor refactoring postings serializers options.
2020-11-03 15:47:25 +09:00
Paul Masurel
9dc36f4431
Exposing API for the hot directory
2020-10-29 13:04:13 +09:00
Paul Masurel
730ccefffb
Fixes a bug in TermQuery::explain.
...
Closes #915
2020-10-28 22:29:15 +09:00
Paul Masurel
9e27da8b4e
Added CR comments.
...
Added Unit tests.
2020-10-28 17:35:34 +09:00
Adrien Guillo
7f373f232a
Add helper methods for BooleanQuery
2020-10-28 17:35:34 +09:00
Pasha Podolsky
71c66a5405
[tantivy] Run clippy linter ( #914 )
2020-10-27 14:36:02 +09:00
Paul Masurel
2eb5326aa4
Fixing compilation
2020-10-27 14:00:14 +09:00
Paul Masurel
91e92fa8a3
Made public.
2020-10-20 14:59:41 +09:00
Paul Masurel
9cc1661ce2
Updating crossbeam ( #909 )
2020-10-13 10:55:50 +09:00
Paul Masurel
c3f44d38f3
Moving HasLen ( #910 )
2020-10-13 10:19:30 +09:00
Paul Masurel
01b4aa9adc
Refactoring dir ( #905 )
2020-10-11 22:22:56 +09:00
Paul Masurel
7a78b1cba3
Fix unit test on windows
2020-10-09 14:57:39 +09:00
Pasha Podolsky
80cbe889ba
[tantivy] Add brotli codec for row storage ( #885 )
...
* [tantivy] Add brotli codec for row storage
* [tantivy] Fix not actual comments for code
* [CR] Fixes for comment and cursor
2020-10-09 14:51:42 +09:00
Paul Masurel
c23a03ad81
Large API Change in the Directory API. ( #901 )
...
Tantivy used to assume that all files could be somehow memory mapped. After this change, Directory return a `FileSlice` that can be reduced and eventually read into an `OwnedBytes` object. Long and blocking io operation are still required by they do not span over the entire file.
2020-10-08 16:36:51 +09:00
Paul Masurel
579e3d1ed8
Removed dev-deps to serde_yaml
2020-10-06 10:04:06 +09:00
Pasha Podolsky
687a36a49c
[tantivy] Fix for schema deserialization error ( #902 )
...
Co-authored-by: Pasha <pasha@izihawa.net >
2020-10-05 11:24:48 +09:00
Paul Masurel
ad82b455a3
Minor change
2020-10-01 20:45:07 +09:00