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
Paul Masurel
96e5de2eb9
Merge pull request #995 from bstrie/main
...
Replace deprecated collections::Bound with ops::Bound
2021-03-19 09:06:09 +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
2ab25d994f
Updated Changelog. Closing #991
2021-03-10 14:14:21 +09:00
Paul Masurel
5fac119aa0
Merge pull request #992 from tantivy-search/issue/991
...
Replacing (start, end) by Range
2021-03-10 14:12:53 +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
Paul Masurel
82d7553c63
Merge pull request #988 from lengyijun/patch-9
...
Update file_slice.rs
2021-03-08 16:17:32 +09:00
lyj
bc0eb813ff
Update file_slice.rs
...
typo fix
2021-03-08 14:12:33 +08:00
Paul Masurel
a259023fd9
Merge pull request #985 from tantivy-search/dependabot/cargo/proptest-1.0
...
Update proptest requirement from 0.10 to 1.0
2021-02-23 08:48:28 +09:00
dependabot-preview[bot]
25105448e8
Update proptest requirement from 0.10 to 1.0
...
Updates the requirements on [proptest](https://github.com/altsysrq/proptest ) to permit the latest version.
- [Release notes](https://github.com/altsysrq/proptest/releases )
- [Changelog](https://github.com/AltSysrq/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/altsysrq/proptest/compare/0.10.0...1.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2021-02-22 20:13:03 +00: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
a707967453
Merge pull request #984 from vishalsodani/main
...
Fixed spelling
2021-02-09 09:08:13 +09:00
Vishal Sodani
b2f2097239
Fixed spelling
2021-02-08 20:29:10 +05:30
Vishal Sodani
6ae96038c2
Fixed spelling
2021-02-08 20:18:45 +05:30
Paul Masurel
2c6a0d0a19
Merge pull request #983 from vishalsodani/main
...
Fixed grammar
2021-02-08 23:36:18 +09:00
Vishal Sodani
4bcdca8545
Fixed spelling
2021-02-08 19:51:36 +05:30
Vishal Sodani
67f8e91395
Fixed grammar
2021-02-08 18:26:24 +05:30
Paul Masurel
b209763a55
Added ARCHITECTURE.md
2021-02-08 16:40:20 +09:00
Paul Masurel
5ef96795dc
Added minor comment on DocId
2021-02-08 16:14:05 +09:00
Paul Masurel
784717749f
Removing unused imports.
0.14
2021-02-05 23:04:17 +09:00
Paul Masurel
945bcc5bd3
Bump tantivy-grammar version
2021-02-05 22:58:21 +09:00
Paul Masurel
51aa9c319e
Bumped version to 0.14
2021-02-05 22:55:26 +09:00
Paul Masurel
74d8d2946b
Merge pull request #980 from lengyijun/patch-8
...
Update segment_postings.rs
2021-02-05 22:52:29 +09:00
lyj
0a160cc16e
Update segment_postings.rs
2021-02-05 21:32:25 +08:00
Paul Masurel
f099f97daa
Merge pull request #979 from slckl/main
...
FacetCounts are now pub use in tantivy::collector (Closes #978 )
2021-02-05 17:05:20 +09: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
84a2f534db
Merge pull request #976 from tantivy-search/issue/fastfield_no_load
...
Fast field are not loaded on the opening of a segment.
2021-01-21 18:14:55 +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