PSeitz
352e0cc58d
Adde demux operation ( #1150 )
...
* add merge for DeleteBitSet, allow custom DeleteBitSet on merge
* forward delete bitsets on merge, add tests
* add demux operation and tests
2021-10-06 16:05:16 +09:00
Paul Masurel
ffe4446d90
Minor lint comments ( #1166 )
2021-10-06 11:27:48 +09:00
dependabot[bot]
4d05b26e7a
Update lru requirement from 0.6.5 to 0.7.0 ( #1165 )
...
Updates the requirements on [lru](https://github.com/jeromefroe/lru-rs ) to permit the latest version.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.5...0.7.0 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 05:50:24 +09:00
Paul Masurel
0855649986
Leaning more on the alive (vs delete) semantics. ( #1164 )
2021-10-05 18:53:29 +09:00
PSeitz
d828e58903
Merge pull request #1163 from PSeitz/reduce_mem_usage
...
reduce mem usage
2021-10-01 08:03:41 +02:00
Pascal Seitz
aa0396fe27
fix variable names
2021-10-01 13:48:51 +08:00
Pascal Seitz
8d8315f8d0
prealloc vec in postinglist
2021-09-29 09:02:38 +08:00
Pascal Seitz
078c0a2e2e
reserve vec
2021-09-29 08:45:04 +08:00
Pascal Seitz
f21e8dd875
use only segment ordinal in docidmapping
2021-09-29 08:44:56 +08:00
Tomoko Uchida
74e36c7e97
Add unit tests for tokenizers and filters ( #1156 )
...
* add unit test for SimpleTokenizer
* add unit tests for tokenizers and filters.
2021-09-27 10:22:01 +09:00
PSeitz
f27ae04282
fix slope calculation in multilinear interpol ( #1161 )
...
add test to check for compression
2021-09-27 10:14:03 +09:00
PSeitz
0ce49c9dd4
use lz4_flex 0.9.0 ( #1160 )
2021-09-27 10:12:20 +09:00
PSeitz
fe8e58e078
Merge pull request #1154 from PSeitz/delete_bitset
...
add DeleteBitSet iterator
2021-09-24 09:37:39 +02:00
Pascal Seitz
efc0d8341b
fix comment
2021-09-24 15:09:21 +08:00
Pascal Seitz
22bcc83d10
fix padding in initialization
2021-09-24 14:43:04 +08:00
Pascal Seitz
5ee5037934
create and use ReadSerializedBitSet
2021-09-24 12:53:33 +08:00
Pascal Seitz
c217bfed1e
cargo fmt
2021-09-23 21:02:19 +08:00
Pascal Seitz
c27ccd3e24
improve naming
2021-09-23 21:02:09 +08:00
Paul Masurel
367f5da782
Fixed comment to the index accessor
2021-09-23 21:53:48 +09:00
Mestery
b256df6599
add index accessor for index writer ( #1159 )
...
* add index accessor for index writer
* Update src/indexer/index_writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io >
2021-09-23 21:49:20 +09:00
Pascal Seitz
d7a6a409a1
renames
2021-09-23 20:33:11 +08:00
Pascal Seitz
a1f5cead96
AliveBitSet instead of DeleteBitSet
2021-09-23 20:03:57 +08:00
dependabot[bot]
37c5fe3c86
Update memmap2 requirement from 0.4 to 0.5 ( #1157 )
...
Updates the requirements on [memmap2](https://github.com/RazrFalcon/memmap2-rs ) to permit the latest version.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: memmap2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 20:18:27 +09:00
Pascal Seitz
4583fa270b
fixes
2021-09-23 10:39:53 +08:00
Pascal Seitz
beb3a5bd73
fix len
2021-09-18 17:58:15 +08:00
Pascal Seitz
93cbd52bf0
move code to biset, add inline, add benchmark
2021-09-18 17:35:22 +08:00
Pascal Seitz
c22177a005
add iterator
2021-09-17 15:29:27 +08:00
Pascal Seitz
4da71273e1
add de/serialization for bitset
...
remove len footgun
2021-09-17 10:28:12 +08:00
dependabot[bot]
2c78b31aab
Update memmap2 requirement from 0.3 to 0.4 ( #1155 )
...
Updates the requirements on [memmap2](https://github.com/RazrFalcon/memmap2-rs ) to permit the latest version.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v.0.3.0...v0.4.0 )
2021-09-17 08:52:52 +09:00
Pascal Seitz
4ae1d87632
add DeleteBitSet iterator
2021-09-15 23:10:04 +08:00
Paul Masurel
46b86a7976
Bounced version and edited changelog
0.16.1
2021-09-10 23:05:09 +09:00
PSeitz
3bc177e69d
fix #1151 ( #1152 )
...
* fix #1151
Fixes a off by one error in the stats for the index fast field in the multi value fast field.
When retrieving the data range for a docid, `get(doc)..get(docid+1)` is requested. On creation
the num_vals statistic was set to doc instead of docid + 1. In the multivaluelinearinterpol fast
field the last value was therefore not serialized (and would return 0 instead in most cases).
So the last document get(lastdoc)..get(lastdoc + 1) would return the invalid range `value..0`.
This PR adds a proptest to cover this scenario. A combination of a large number values, since multilinear
interpolation is only active for more than 5_000 values, and a merge is required.
2021-09-10 23:00:37 +09:00
PSeitz
319609e9c1
test cargo-llvm-cov ( #1149 )
2021-09-03 22:00:43 +09:00
Kanji Yomoda
9d87b89718
Fix incorrect comment for Index::create_in_dir ( #1148 )
...
* Fix incorrect comment for Index::create_in_dir
2021-09-03 10:37:16 +09:00
Tomoko Uchida
dd81e38e53
Add WhitespaceTokenizer ( #1147 )
...
* Add WhitespaceTokenizer.
2021-08-29 18:20:49 +09:00
Paul Masurel
9f32b22602
Preparing for release.
2021-08-26 09:07:08 +09:00
sigaloid
096ce7488e
Resolve some clippys, format ( #1144 )
...
* cargo +nightly clippy --fix -Z unstable-options
2021-08-26 08:46:00 +09:00
PSeitz
a1782dd172
Update index_sorting.md
2021-08-25 07:55:50 +01:00
PSeitz
000d76b11a
Update index_sorting.md
2021-08-24 19:28:06 +01:00
PSeitz
abd29f6646
Update index_sorting.md
2021-08-24 19:26:19 +01:00
PSeitz
b4ecf0ab2f
Merge pull request #1146 from tantivy-search/sorting_doc
...
add sorting to book
2021-08-23 17:37:54 +01:00
Pascal Seitz
798f7dbf67
add sorting to book
2021-08-23 17:36:41 +01:00
PSeitz
06a2e47c8d
Merge pull request #1145 from tantivy-search/blub2
...
cargo fmt
2021-08-21 18:52:50 +01:00
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
PSeitz
1a45b030dc
Merge pull request #1141 from tantivy-search/tantivy_common
...
dissolve common module
2021-08-20 08:03:37 +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
PSeitz
483e0336b6
Merge pull request #1140 from tantivy-search/tantivy_common
...
rename common to tantivy-common
2021-08-19 13:02:54 +01:00