Commit Graph
1433 Commits
Author SHA1 Message Date
Paul Masurel 31137beea6 Replacing (start, end) by Range 2021-03-10 14:06:21 +09:00
Paul Masurel 316d65d7c6 removed deprecated compare_and_swap 2021-03-09 10:30:02 +09:00
lyj bc0eb813ff Update file_slice.rs
typo fix
2021-03-08 14:12:33 +08:00
Paul Masurel fe3faf5b3f Cargo fmt 2021-02-22 14:29:03 +09:00
Paul Masurel f19dd896cf Re-added u64_lenient as a public API 2021-02-22 14:07:48 +09:00
Paul Masurel 9fe26c4fdd Added 'static to FastValue. 2021-02-22 11:02:04 +09:00
Paul Masurel a369a72cae Cargo fmt 2021-02-09 15:00:14 +09:00
Paul Masurel 5ef96795dc Added minor comment on DocId 2021-02-08 16:14:05 +09:00
Paul Masurel 784717749f Removing unused imports. 2021-02-05 23:04:17 +09:00
lyj 0a160cc16e Update segment_postings.rs 2021-02-05 21:32:25 +08:00
alif 769e9ba14d added simple docs to FacetCounts now-public API 2021-02-05 09:18:20 +02:00
alif a482c0e966 pub use FacetCounts in tantivy::collector module 2021-02-05 09:00:48 +02:00
Paul Masurel 86d92a72e7 Renaming MultiValueIntFastField* to MultiValuedIntFastField* 2021-01-21 22:47:00 +09:00
Paul Masurel ef618a5999 Made fast field reader clonable. 2021-01-21 22:15:24 +09:00
Paul Masurel 94d3d7a89a Rename FastFieldReaders::load_all 2021-01-21 18:38:48 +09:00
Paul Masurel aa9e79f957 Clippy warnings. 2021-01-21 18:23:20 +09:00
Paul Masurel 1b4be24dca Fast field are not loaded on the opening of a segment.
They are instead loaded lazily when they are request.
2021-01-21 18:13:08 +09:00
Paul Masurel 824ccc37ae Merge pull request #975 from jamescorbett/patch-1
Change from serde::export to std::marker
2021-01-12 10:04:23 +09:00
Paul Masurel 5231651020 Closes #974 2021-01-12 10:03:37 +09:00
James Corbett fa2c6f80c7 Change from serde::export to std::marker
For some reason under a docker build I get a build error under docker only saying that `serde::export` is private. This fixes it for me.

```
error[E0603]: module `export` is private
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/tantivy-0.13.2/src/collector/top_collector.rs:5:12
    |
5   | use serde::export::PhantomData;
    |            ^^^^^^ private module
    |
note: the module `export` is defined here
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.119/src/lib.rs:275:5
    |
275 | use self::__private as export;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
```
2021-01-12 00:25:54 +00:00
Paul Masurel 43c7b3bfec Bugfix in the RAMDirectory.
There was a state where the meta.json was empty.
2021-01-11 14:11:42 +09:00
Paul Masurel b17a10546a Minor change in unit test. 2021-01-11 11:33:59 +09:00
Paul Masurel 203b0256a3 Minor renaming 2021-01-07 22:47:57 +09:00
Paul Masurel caf2a38b7e Closes #969.
The segment stacking optimization is not updating "first_doc_in_block".
2021-01-07 22:43:56 +09:00
Paul Masurel 96f24b078e Added failing unit test. 2021-01-07 22:43:28 +09:00
Paul Masurel 8ca0954b3b Added a functional long running test to test store merging. 2021-01-07 14:07:15 +09:00
Paul Masurel 9c3cabce40 Updated version of the rand crate. 2021-01-06 18:09:00 +09:00
Paul Masurel f8d71c2b10 Merge pull request #964 from mosuka/deserializable
Make NamedFieldDocument deserializable
2021-01-06 17:43:53 +09:00
Lewis Diamond b0549a229d Fix spelling 2021-01-05 22:34:56 -05:00
Minoru Osuka 670b6eaff6 Make NamedFieldDocument deserializable 2020-12-21 16:51:31 +09:00
Paul Masurel a4f33d3823 Added comment to f64 conversion to u64.
- Added proptest
- Added comment to Lemire blog post.
2020-12-15 13:40:31 +09:00
barrotsteindev e7b4a12bba cargo fmt 2020-12-10 14:10:55 +02:00
barrotsteindev 0aaa929d6e Merge branch 'main' into filter-collector-tpredicatevalue 2020-12-10 11:27:19 +02:00
barrotsteindev 920481e1c1 change unit test 2020-12-10 11:24:53 +02:00
Paul Masurel 09ab4df1fe Encode blockwand on a single byte. 2020-12-10 18:08:52 +09:00
barrotsteindev 0c2cf81b37 cargo fmt 2020-12-10 11:08:35 +02:00
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
Paul Masurel c3e311e6b8 Removed 'static in compression_lz4. 2020-12-09 15:30:52 +09:00
barrotsteindev ac704f2f22 WIP generic filter collector 2020-12-08 14:36:52 +02:00
Paul Masurel be626083a0 Reorganized and added termdict unit tests. 2020-12-07 12:50:36 +09:00
Paul Masurel b68fcca1e0 Minor changes
- Open{Write,Read}Error::wrap_io_error made public
- Arc<PathBuf> -> Arc<Path> in file_watcher.
2020-12-03 23:31:50 +09:00
Paul Masurel af6dfa1856 Small refactoring 2020-12-03 14:27:05 +09:00
Paul Masurel 654c400a0b TermDictionary.finish does not flush 2020-12-03 13:36:25 +09:00
Paul Masurel 80a99539ce Several TermDict operation now returns an io::Result 2020-12-03 13:13:11 +09:00
Paul Masurel 4b1c770e5e Simplified counting writer and removed flush 2020-12-03 11:24:39 +09:00
Paul Masurel 3491645e69 Moved the term merger 2020-12-03 10:24:04 +09:00
Paul Masurel b4b3bc7acd Cargo fmt 2020-12-03 10:08:38 +09:00
Paul Masurel 521c7b271b Isolated fst impl of termdictionary in a specific module. 2020-12-02 21:18:33 +09:00
Adrien Guillo 3ab1ba0b2f Fix clippy warning 2020-12-01 12:07:53 -08:00