Pascal Seitz
cbf805c3e6
fix build, skip serialize None
2021-04-26 13:30:34 +02:00
Pascal Seitz
46beb2a989
index_settings should be optional
2021-04-26 11:34:19 +02:00
Pascal Seitz
c01c175744
rename fix
2021-04-26 09:45:12 +02:00
Paul Masurel
eca496ee24
Merge branch 'main' into indexmeta
2021-04-26 14:34:58 +09:00
Paul Masurel
2dc5403e7b
Closes #1022
2021-04-26 14:01:14 +09:00
Paul Masurel
aead5d4068
First stab
2021-04-26 12:46:06 +09:00
Paul Masurel
6fb3622abb
Cargo fmt
2021-04-26 12:45:49 +09:00
Paul Masurel
39dd8cfe24
Cargo clippy. Acronym should not be full uppercase apparently.
2021-04-26 11:49:18 +09:00
Pascal Seitz
b9b9e9e518
move Index::create to IndexBuilder
2021-04-23 15:14:15 +02:00
Pascal Seitz
e2c91aff33
add open/create methods to index builder
...
add indexbuilder error
rename create_from_metas to open_from_metas
remove from_directory
2021-04-23 14:02:21 +02:00
Pascal Seitz
96098fce20
fmt
2021-04-23 12:09:55 +02:00
Paul Masurel
18bfe131fe
Removed all inline(always) like a baboon.
2021-04-23 10:47:13 +09:00
Pascal Seitz
8dc3e7704c
add IndexSettings to Index, use Indexbuilder in Index
2021-04-22 21:07:39 +02:00
Paul Masurel
1ebfc71721
Merge pull request #1019 from tantivy-search/fix-merge-policy-bug
...
fixed merge policy bug
2021-04-22 11:25:48 +09:00
Paul Masurel
afd3dc7e81
Merge pull request #1016 from rihardsk/date-range-exclusivity-test
...
Change to an exlusive bound in the date range test
2021-04-22 11:21:01 +09:00
Evance Souamoro
8883e32dd8
applied cargo fmt
2021-04-21 21:25:31 +00:00
Pascal Seitz
4243780e0a
add Index::builder, add index_settings to IndexMeta
2021-04-21 19:32:19 +02:00
Evance Souamoro
3ccd93ac67
fixed merge policy bug
2021-04-21 15:20:05 +00:00
Evance Souamoro
d69aace9ec
fixed potential typo
2021-04-20 07:21:47 +00:00
Rihards Krišlauks
777debf5d7
Format
2021-04-19 21:57:25 +03:00
Rihards Krišlauks
7c20771d20
Change to an exlusive bound in the date range test
...
So that both, inclusive and exclusive, bounds are tested for date ranges
2021-04-19 20:43:37 +03:00
Paul Masurel
cc9972ad6c
Merge pull request #1010 from PSeitz/main
...
add lz4 block format compressor as default docstore compressor
2021-04-19 21:46:19 +09:00
Pascal Seitz
c2fdc60569
fix snap version, fix naming
2021-04-19 10:55:44 +02:00
Paul Masurel
be7c9cc9b8
Merge pull request #1012 from rihardsk/date-ranges
...
Add support for date range queries
2021-04-19 09:34:40 +09:00
Rihards Krišlauks
f58345f0f0
Add a date range query example to QueryParser documentation
2021-04-18 22:13:02 +03:00
Rihards Krišlauks
55e79e34af
Verified that the change in datetime range test was correct
...
The value that was previously there was 3 and it made the test fail when i
enabled it. Verified that it, indeed, should have been 2 instead (the testing
code previously contained an error).
2021-04-17 18:16:52 +03:00
Pascal Seitz
b7159dd48e
forward original error
2021-04-16 17:20:25 +02:00
Pascal Seitz
a00049b879
add lz4 block format compressor as default docstore compressor
...
add lz4 block compressor using lz4_flex, add lz4-block-compression feature flag
add snappy-compression feature flag for snap compressor, make snap crate optional
set lz4-block-compression as default feature flag
2021-04-16 15:24:35 +02:00
Paul Masurel
ba4bc6d7c3
Cargo check
2021-04-15 09:59:35 +09:00
Paul Masurel
868f4fd174
Removing TermMerger::next().
...
Closing #933
2021-04-14 12:06:04 +09:00
Rihards Krišlauks
e58401be78
Implement date range support in the query parser
...
Tests pass but needs cleanup
2021-04-13 23:32:22 +03: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