Paul Masurel
868f4fd174
Removing TermMerger::next().
...
Closing #933
2021-04-14 12:06:04 +09:00
Paul Masurel
5c1ce5b0e1
Edited CHANGELOG
2021-04-12 12:02:25 +09:00
Hardik Prajapati
71309c5528
Simplified chain orderings
2021-04-08 07:41:35 +05:30
Hardik Prajapati
54decc60bb
Fixed formatting using cargo fmt
2021-04-07 23:59:04 +05:30
Hardik Prajapati
50eea4376b
Implementation of Ord trait changed for Hit
...
- This will result in lexicographical ordering of facet in BinaryHeep in case of a tie
2021-04-07 23:14:38 +05:30
Hardik Prajapati
443aa17329
AAdded failing test for tie scenario in topk
2021-04-07 23:10:48 +05:30
Paul Masurel
be1d9e0db7
Marks list_all_segment_metas() as crate private
...
Closes #1004
2021-04-07 23:39:28 +09:00
Paul Masurel
e67e5ebd46
Minor syntax changes, and passing a tantivy Directory as argument
...
Closes #1005 .
2021-04-07 23:35:03 +09:00
Evance Souamoro
a550c85369
fixed issues & added test on merge_segements featt
2021-04-06 16:15:09 +00:00
Evance Souamoro
b185df2b22
added a scratched of implementation but still need to craft one detail and write test to validate
2021-04-06 11:48:51 +00:00
Evance Souamoro
f82922b354
added a scratched of implementation but still need to craft one detail and write test to validate
2021-04-06 11:46:17 +00:00
Paul Masurel
86b30d9d7f
Cargo fmt
2021-03-31 12:20:31 +09:00
Paul Masurel
f1499d5b3e
Cargo fmt
2021-03-31 11:44:03 +09:00
Paul Masurel
38a20ae269
Renamed SegmentLocalId to SegmentOrdinal for more homogeneity and edited
...
changelog
2021-03-29 09:25:42 +09:00
Stéphane Campinas
a0ec6e1e9d
Expand the DocAddress struct with named fields
2021-03-28 19:00:23 +02:00
Paul Masurel
114fbe2512
Removed redundant check
...
Closes #997
2021-03-25 14:17:06 +09:00
Paul Masurel
155729044b
Merge pull request #996 from lpouget/facet-optional-storage-and-index
...
Make facet indexation and storage optional
2021-03-25 09:08:36 +09:00
Laurent Pouget
4b34231f28
Make facet indexation and storage optional
...
Added a FacetOptions for HierarchicalFacet which add indexed and stored flags to it.
Propagate change and update tests accordingly
Added a test to ensure that a not indexed flag was taken care of.
Added on Value implem the `path()` function to return the stored facet.
2021-03-24 14:56:27 +01:00
Paul Masurel
8e7fe068e9
Fixed Histogram collector comment.
2021-03-23 18:43:49 +09:00
Paul Masurel
4c384272dc
Added debug to FileHandle
2021-03-23 00:10:46 +09:00
Paul Masurel
5de9961cf2
Cargo fmt
2021-03-22 10:38:48 +09:00
Paul Masurel
eab36b5c6a
Using std::iter::once.
2021-03-21 16:55:05 +09:00
bstrie
5f740d9ab4
Replace deprecated collections::Bound with ops::Bound
2021-03-18 17:20:36 -04:00
Paul Masurel
4f32126e35
Allow for non static predicate in the FilterCollector
2021-03-18 21:58:35 +09:00
Paul Masurel
d2d0873fdb
Added support for Option<TCollector>.
2021-03-18 17:28:09 +09:00
Paul Masurel
761298ff00
Added an histogram collector.
...
Closes #994
2021-03-18 16:54:42 +09:00
Paul Masurel
52b1eb2c37
Clippy fix
2021-03-10 14:35:51 +09:00
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