François Massot
1db76dd9cf
Merge pull request #1113 from shikhar/patch-1
...
stale comments in segment_reader.rs
2021-07-20 23:02:20 +02:00
Shikhar Bhushan
b361315a67
FilterCollector doc fix
...
Other types supported since https://github.com/tantivy-search/tantivy/pull/953/files
2021-07-15 22:55:47 -04:00
Shikhar Bhushan
4e3771bffc
stale comments in segment_reader.rs
2021-07-15 22:47:32 -04:00
PSeitz
8176b0335a
Merge pull request #1108 from PSeitz/pwnedbytes
...
move ownedbytes to own crate
2021-07-05 16:07:56 +02:00
François Massot
f4b2e71800
Handle field names with any characters with a known set of special ( #1109 )
...
* Handle field names with any characters with a known set of special characters and an escape one
* Update field name validation rule to check only if it has at least one character and does not start with `-`
Closes #1087 .
2021-07-05 22:31:36 +09:00
PSeitz
c431cfcf12
extend proptests, fix race condition ( #1107 )
...
* extend proptests, fix race condition
* cargo fmt
2021-07-05 18:28:56 +09:00
Pascal Seitz
9b662e6d03
move ownedbytes to own crate
...
fixes #1106
2021-07-02 16:51:59 +02:00
Pascal Seitz
0062fe705d
cargo fmt
2021-07-01 18:17:08 +02:00
Pascal Seitz
9b3e508753
fix clippy
2021-07-01 18:06:09 +02:00
Pascal Seitz
a1ac63ee1c
fix clippy
2021-07-01 18:06:03 +02:00
Pascal Seitz
e496ae0470
clippy fixes
2021-07-01 17:43:50 +02:00
Pascal Seitz
1e4df54ab3
fix clippy
2021-07-01 17:41:53 +02:00
Pascal Seitz
2de249af74
clippy fixes
2021-07-01 17:37:37 +02:00
Pascal Seitz
10f056fbb4
apply clippy fixes
2021-07-01 17:08:44 +02:00
PSeitz
074b09d0c0
Merge pull request #1102 from PSeitz/proptests
...
extend proptests for sorting and merge
2021-07-01 16:23:53 +02:00
Pascal Seitz
86d0727659
add facet test
...
closes #1100
2021-07-01 15:36:17 +02:00
Pascal Seitz
be3e1b8718
cargo fmt
2021-07-01 14:02:09 +02:00
Pascal Seitz
8fdf59bdac
add search test for proptest
2021-07-01 14:01:30 +02:00
Pascal Seitz
ebebce2102
cargo fmt
2021-07-01 10:47:20 +02:00
Pascal Seitz
8044ec38da
test docstore in proptest
2021-07-01 10:15:42 +02:00
Pascal Seitz
7413f87265
use set instead of vec in proptest
2021-07-01 08:28:51 +02:00
Pascal Seitz
a15845f9fd
add merge case to proptest, test multivalue fastfields
...
#1100
2021-06-30 13:13:33 +02:00
Pascal Seitz
94ac44df4f
proptest with optional sorting
2021-06-30 12:06:03 +02:00
Pascal Seitz
f80d804a57
add random commits in proptest
2021-06-30 11:18:07 +02:00
Pascal Seitz
3b5c1d7817
use measure_time 0.7
2021-06-30 11:08:02 +02:00
Pascal Seitz
24274edf81
remove trait impl fpr &Vec
2021-06-30 09:50:47 +02:00
Pascal Seitz
130495abab
cleanup
2021-06-30 08:57:55 +02:00
Pascal Seitz
9b743d60fb
make docid mapping non optional
...
make docid mapping non optional
add trivial flag for docid mapping
add time measurements
2021-06-30 08:57:55 +02:00
Pascal Seitz
5c9e2ef036
wrap docidmapping in struct
2021-06-30 08:57:55 +02:00
Pascal Seitz
8526434b63
add dynamic fastfield case
...
add dynamic fastfield for single fast field unsorted
fix scary documentation bug
add num_len instead of len
2021-06-30 08:57:55 +02:00
Pascal Seitz
6ba302c481
Use dynamic fastfield codes for multivalues fixes #1093
...
Use dynamic fastfield codes for multivalues fixes (only sorting case covered)
Rename get to get_val due to conflict with Vec
use u64 precision instead of u32 for get_range, to allow use of existing fast field interface interface (actually not sure if it would be better have a different interface)
2021-06-30 08:57:55 +02:00
Paul Masurel
de92f094aa
Closes #1101 fix delete documents with sort by field
...
Closes #1101
* fix delete documents with sort by field
Co-authored-by: Andre-Philippe Paquet <appaquet@gmail.com >
2021-06-30 15:51:32 +09:00
Evance Soumaoro
c82cee66de
exposing min/max value interface on MultiValuedFastField Reader ( #1096 )
2021-06-23 17:38:50 +09:00
Paul Masurel
6eed05b1ce
Revert "Exposing min/max value interface on MultiValuedFastField Reader ( #1094 )" ( #1095 )
...
This reverts commit bb488305c9 .
2021-06-23 10:25:11 +09:00
Evance Soumaoro
bb488305c9
Exposing min/max value interface on MultiValuedFastField Reader ( #1094 )
...
Exposing min/max value interface on MultiValuedFastField Reader
2021-06-23 08:51:36 +09:00
PSeitz
f05e84f964
add FieldEntry constructor, closes #1086 ( #1090 )
2021-06-17 10:15:48 +09:00
PSeitz
65546ed22b
Merge pull request #1088 from appaquet/fix/store-reader-iterator-take2
...
Fix corruption in store reader iterator, take 2
2021-06-16 14:44:00 +02:00
Andre-Philippe Paquet
57ae5b27dc
fix store reader iterator, take 2
2021-06-16 07:51:39 -04:00
Pascal Seitz
5b54a32563
use concrete return type, fixes #1084
2021-06-16 12:03:11 +02:00
PSeitz
cd049e28bc
Merge pull request #1082 from PSeitz/fastfieldcompression
...
use dynamic fast field codec for offset index
2021-06-16 11:59:00 +02:00
Pascal Seitz
36528c5e83
move counting writer to common
...
move counting writer to common
reuse counting writer in fastfield codec
2021-06-16 08:14:04 +02:00
Pascal Seitz
cd169dee23
use dynamic fast field codec for offset index
2021-06-15 13:34:42 +02:00
Pascal Seitz
c889ae10e4
add is_applicable to fast field codecs
2021-06-14 16:16:25 +02:00
Pascal Seitz
0a534c6ee0
rename create to serialize
2021-06-14 15:40:07 +02:00
Pascal Seitz
167d88b449
fix tests behind unstable feature flag
2021-06-14 15:31:12 +02:00
Pascal Seitz
abb5624af2
add contributing guidelines, add codec comparer binary
...
add contributing guidelines
add codec comparer binary to test codec compressions with different test data sets
2021-06-14 13:56:40 +02:00
Pascal Seitz
1d41b96d32
rename, add codec_tester
2021-06-14 13:56:40 +02:00
Pascal Seitz
294cd5fd0b
streamline traits and tests
2021-06-14 13:56:40 +02:00
Pascal Seitz
e78e0fec59
add multilinearinterpolation
...
add multilinearinterpolation, which compresses blocks of size 512
add checks for linear interpolation
2021-06-14 13:56:40 +02:00
Pascal Seitz
e296da7ade
add debug and failsafes
2021-06-14 13:56:40 +02:00