Pascal Seitz
e0b83eb291
cargo fmt
2021-08-21 18:52:10 +01:00
PSeitz
13401f46ea
add wildcard mention
2021-08-21 18:10:33 +01:00
Pascal Seitz
62052bcc2d
add missing test function
...
closes #1139
2021-08-20 07:26:22 +01:00
Pascal Seitz
3265f7bec3
dissolve common module
2021-08-19 23:26:34 +01:00
Pascal Seitz
ee0881712a
move bitset to common crate, move composite file to directory
2021-08-19 17:45:09 +01:00
Paul Masurel
750f6e6479
Removed obsolete unit test ( #1138 )
2021-08-19 10:07:49 +09:00
Evance Soumaoro
5b475e6603
Checksum validation using active files ( #1130 )
...
* now validate checksum uses segment files not managed files
2021-08-19 10:03:20 +09:00
Pascal Seitz
dc141cdb29
more docs detail
...
remove code duplicate
2021-08-13 17:40:13 +01:00
Pascal Seitz
f379a80233
test doc_freq and term_freq in sorted index
2021-08-03 11:38:05 +01:00
PSeitz
4a320fd1ff
fix delta position in merge and index sorting ( #1132 )
...
fixes #1125
2021-08-03 18:06:36 +09:00
Pascal Seitz
605e8603dc
add positions to long running test
2021-08-02 15:29:49 +01:00
Pascal Seitz
70f160b329
add long running test in ci
2021-08-02 11:35:39 +01:00
PSeitz
fdc512391b
Merge pull request #1128 from tantivy-search/merge_overflow
...
add sort to functional test, add env for iterations
2021-08-02 10:29:16 +01:00
Pascal Seitz
108714c934
add sort to functional test, add env for iterations
2021-08-02 10:11:17 +01:00
Paul Masurel
44e8cf98a5
Cargo fmt
2021-07-30 15:30:01 +09:00
Paul Masurel
f0ee69d9e9
Remove the complicated block search logic for a simpler branchless ( #1124 )
...
binary search
The code is simpler and faster.
Before
test postings::bench::bench_segment_intersection ... bench: 2,093,697 ns/iter (+/- 115,509)
test postings::bench::bench_skip_next_p01 ... bench: 58,585 ns/iter (+/- 796)
test postings::bench::bench_skip_next_p1 ... bench: 160,872 ns/iter (+/- 5,164)
test postings::bench::bench_skip_next_p10 ... bench: 615,229 ns/iter (+/- 25,108)
test postings::bench::bench_skip_next_p90 ... bench: 1,120,509 ns/iter (+/- 22,271)
After
test postings::bench::bench_segment_intersection ... bench: 1,747,726 ns/iter (+/- 52,867)
test postings::bench::bench_skip_next_p01 ... bench: 55,205 ns/iter (+/- 714)
test postings::bench::bench_skip_next_p1 ... bench: 131,433 ns/iter (+/- 2,814)
test postings::bench::bench_skip_next_p10 ... bench: 478,830 ns/iter (+/- 12,794)
test postings::bench::bench_skip_next_p90 ... bench: 931,082 ns/iter (+/- 31,468)
2021-07-30 14:38:42 +09:00
Evance Soumaoro
b8a10c8406
switched to memmap2-rs ( #1120 )
2021-07-27 18:40:41 +09:00
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