Paul Masurel
8802d125f8
Prepare commit is public again ( #1202 )
...
- Simplified some of the prepare commit & segment updater code using
async.
- Made PrepareCommit public again.
2021-11-12 23:25:39 +09:00
dependabot[bot]
33301a3eb4
Update fail requirement from 0.4 to 0.5 ( #1197 )
...
Updates the requirements on [fail](https://github.com/tikv/fail-rs ) to permit the latest version.
- [Release notes](https://github.com/tikv/fail-rs/releases )
- [Changelog](https://github.com/tikv/fail-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tikv/fail-rs/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: fail
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-11-12 23:21:16 +09:00
Paul Masurel
7234bef0eb
Issue/1198 ( #1201 )
...
* Unit test reproducing #1198
* Fixing unit test to handle the error from add_document.
* Bump project version
2021-11-11 16:42:19 +09:00
azerowall
fcff91559b
Fix the deserialization error of FieldEntry when the 'options' field appears before the 'type' field ( #1199 )
...
Co-authored-by: quel <azerowall>
2021-11-10 18:39:58 +09:00
Paul Masurel
b75d4e59d1
Remove the broken panic on drop unit test. ( #1200 )
2021-11-10 18:39:37 +09:00
Paul Masurel
c6b5ab1dbe
Replacing the panic check in the RAM Directory on lack of flush.
2021-11-09 11:04:31 +09:00
PSeitz
c12e07f0ce
Merge pull request #1196 from quickwit-inc/dependabot/cargo/measure_time-0.8.0
...
Update measure_time requirement from 0.7.0 to 0.8.0
2021-11-05 08:47:51 +08:00
dependabot[bot]
8b877a4c26
Update measure_time requirement from 0.7.0 to 0.8.0
...
Updates the requirements on [measure_time](https://github.com/PSeitz/rust_measure_time ) to permit the latest version.
- [Release notes](https://github.com/PSeitz/rust_measure_time/releases )
- [Commits](https://github.com/PSeitz/rust_measure_time/commits )
---
updated-dependencies:
- dependency-name: measure_time
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-04 20:27:16 +00:00
PSeitz
7dc0dc1c9b
extend proptests with adding case ( #1191 )
...
This extends the proptest to cover a case where up to a 100 documents are added to an index.
2021-11-01 09:27:10 +09:00
François Massot
0462754673
Optimize block wand for one and several TermScorer. ( #1190 )
...
* Added optimisation using block wand for single TermScorer.
A proptest was also added.
* Fix block wand algorithm by taking the last doc id of scores until the pivot scorer (included).
* In block wand, when block max score is lower than the threshold, advance the scorer with best score.
* Fix wrong condition in block_wand_single_scorer and add debug_assert to have an equality check on doc to break the loop.
2021-11-01 09:18:05 +09:00
PSeitz
5916ceda73
Merge pull request #1188 from PSeitz/sort_issue
...
fix incorrect padding in bitset for multiple of 64
2021-10-29 17:06:38 +08:00
Pascal Seitz
70283dc6c8
fix incorrect padding in bitset for multiple of 64
2021-10-29 16:49:22 +08:00
PSeitz
dbaf4f3623
Merge pull request #1187 from PSeitz/sort_issue
...
check searcher num docs in proptest
2021-10-29 16:19:24 +08:00
Pascal Seitz
4808648322
check searcher num docs in proptest
2021-10-29 14:38:30 +08:00
Paul Masurel
54afb9b34a
Made PrepareCommit private
2021-10-29 14:13:14 +09:00
Paul Masurel
d336c8b938
Fixed logo
2021-10-27 08:54:16 +09:00
Paul Masurel
980d1b2796
Removing Patreon link
2021-10-27 08:53:45 +09:00
Dan Cecile
6317982876
Make indexer::prepared_commit public ( #1184 )
...
* Make indexer::prepared_commit public
* Add PreparedCommit to lib
2021-10-26 12:21:24 +09:00
PSeitz
e2fbbc08ca
Merge pull request #1182 from PSeitz/remove_directory_generic
...
use Box<dyn Directory> as parameter to open/create an Index
2021-10-25 12:49:55 +08:00
Pascal Seitz
99cd25beae
use <T: Into<Box<dyn Directory>>> as parameter to open/create an Index
...
This is done in order to support Box<dyn Directory> additionally to generic implementations of the trait Directory.
Remove boxing in ManagedDirectory.
2021-10-25 12:34:40 +08:00
Kanji Yomoda
737ecc7015
Fix outdated comment for IndexWriter::new ( #1183 )
2021-10-25 10:59:18 +09:00
Kanji Yomoda
09668459c8
Update codecov-action to v2 and make it possible to keep it up-to-date with dependabot ( #1181 )
...
* Update codecov-action to v2
* Add github-actions to dependabot
2021-10-25 10:58:16 +09:00
Evance Soumaoro
e5fd30f438
Fixed links ( #1177 )
2021-10-25 10:56:04 +09:00
Tom Parker-Shemilt
c412a46105
Remove travis config ( #1180 )
2021-10-24 15:40:43 +09:00
PSeitz
3a78402496
update links ( #1176 )
2021-10-18 20:45:40 +09:00
Paul Masurel
d18ac136c0
Search simplified ( #1175 )
2021-10-18 12:52:43 +09:00
Paul Masurel
b5b1244857
More functionality in the ownedbytes crate ( #1172 )
2021-10-07 18:14:49 +09:00
Paul Masurel
27acfa4dea
Removing dead file ( #1170 )
2021-10-07 14:15:21 +09:00
Paul Masurel
02cffa4dea
Code simplification. ( #1169 )
...
Code simplification and Clippy
2021-10-07 14:11:44 +09:00
Paul Masurel
b52abbc771
Bugfix transposition_cost_one in FuzzyQuery ( #1167 )
2021-10-07 09:38:39 +09:00
Paul Masurel
894c61867f
Fix test compilation ( #1168 )
2021-10-06 17:50:10 +09:00
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