Antoine G
3129d86743
doc(termdict) expose structs ( #1242 )
...
* doc(termdict) expose structs
also add merger doc + lint
refs #1232
2022-01-03 22:20:31 +09:00
Shikhar Bhushan
e5e252cbc0
LogMergePolicy knob del_docs_percentage_before_merge ( #1238 )
...
Add a knob to LogMergePolicy to always merge segments that exceed a threshold of deleted docs
Closes #115
2021-12-20 13:14:56 +09:00
Paul Masurel
b2da82f151
Making MergeCandidate public in order to allow the usage of custom merge ( #1237 )
...
policies.
Closes #1235
2021-12-13 09:54:21 +09:00
Paul Masurel
c81b3030fa
Issue/922b ( #1233 )
...
* Add a NORMED options on field
Make fieldnorm indexation optional:
* for all types except text => added a NORMED options
* for text field
** if STRING, field has not fieldnorm retained
** if TEXT, field has fieldnorm computed
* Finalize making fieldnorm optional for all field types.
- Using Option for fieldnorm readers.
2021-12-10 21:12:29 +09:00
Paul Masurel
9e66c75fc6
Using stable in CI as rustc nightly seems broken
2021-12-10 18:45:23 +09:00
Paul Masurel
ebdbb6bd2e
Fixing compilation warnings & clippy comments.
2021-12-10 16:47:59 +09:00
Antoine G
c980b19dd9
canonicalize path when opening MmapDirectory ( #1231 )
...
* canonicalize path when opening `MmapDirectory`
fixes #1229
2021-12-09 10:19:52 +09:00
Paul Masurel
098eea843a
Reducing the number of call to fsync on the directory. ( #1228 )
...
This work by introducing a new API method in the Directory
trait. The user needs to explicitely call this method.
(In particular, once before a commmit)
Closes #1225
2021-12-03 03:10:52 +00:00
Paul Masurel
466dc8233c
Cargo fmt
2021-12-02 18:46:28 +09:00
Paul Masurel
03c2f6ece2
We are missing 4 bytes in the LZ4 compression buffer. ( #1226 )
...
Closes #831
2021-12-02 16:00:29 +09:00
Paul Masurel
1d4e9a29db
Cargo fmt
2021-12-02 15:51:44 +09:00
Paul Masurel
f378d9a57b
Pleasing clippy
2021-12-02 14:48:33 +09:00
Paul Masurel
dde49ac8e2
Closes #1195 ( #1222 )
...
Removes the indexed option for facets.
Facets are now always indexed.
Closes #1195
2021-12-02 14:37:19 +09:00
Paul Masurel
c3cc93406d
Bugfix: adds missing fdatasync on atomic_write.
...
In addition this PR:
- removes unnecessary flushes and fsyncs on files.
- replace all fsync by fdatasync. The latter triggers
a meta sync if a metadata required to read the file
has changed. It is therefore sufficient for us.
Closes #1224
2021-12-02 13:42:44 +09:00
Kanji Yomoda
bd0f9211da
Remove unused sort for segmenta meta list ( #1218 )
...
* Remove unused sort for segment meta list
* Fix segment meta order dependent test
2021-12-01 11:18:17 +09:00
PSeitz
c503c6e4fa
Switch to non-strict schema ( #1216 )
...
Fixes #1211
2021-11-29 10:38:59 +09:00
PSeitz
02174d26af
Merge pull request #1209 from quickwit-inc/lz4_flex_version
...
fix lz4_flex version
2021-11-16 14:12:45 +08:00
PSeitz
cf92be3bd6
fix lz4_flex version
2021-11-16 06:03:04 +00:00
Shikhar Bhushan
72cef12db1
Add none compression ( #1208 )
2021-11-16 10:50:42 +09:00
Paul Masurel
bbc0a2e233
Fixing the build
2021-11-16 09:37:25 +09:00
François Massot
4fd1a6c84b
Merge pull request #1207 from quickwit-inc/fix-chat-links
...
Remove patron link and changer gitter links to discord links.
2021-11-15 19:23:21 +01:00
François Massot
c83d99c414
Remove patron link and changer gitter links to discord links.
2021-11-15 19:17:35 +01:00
Paul Masurel
eacf510175
Exchange gitter link for discord
2021-11-15 16:44:13 +09:00
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