boraarslan
e6eadf1a2f
Add tests
2022-06-07 10:09:37 +03:00
boraarslan
7cca7e6a47
Fix of last commit
2022-06-07 10:09:37 +03:00
boraarslan
ef2492dba6
Broken commit
2022-06-07 10:09:37 +03:00
boraarslan
2981e6c1df
First commit
2022-06-07 10:09:37 +03:00
Ryan Russell
b33b4c0092
Fix various occurrence var names and references ( #1385 )
...
Thank you Ryan!
Signed-off-by: Ryan Russell <git@ryanrussell.org >
2022-06-07 11:08:19 +09:00
PSeitz
5e599d96d7
Merge pull request #1372 from quickwit-oss/doc_store_api
...
refactor doc store
2022-06-02 15:19:57 +08:00
Pascal Seitz
314ae43a45
fix fmt
2022-06-02 14:54:23 +08:00
Pascal Seitz
fce91b2f3a
vec without capacity
2022-06-02 13:50:18 +08:00
Pascal Seitz
9bcd2b8104
fix read_block_async
2022-06-02 13:37:52 +08:00
Pascal Seitz
0c9c257150
move cache handling into single function
2022-06-02 13:25:29 +08:00
Pascal Seitz
1af85a2956
accept usize instead &usize
2022-06-02 11:23:36 +08:00
Pascal Seitz
bc4c3d0c6b
add peek_lru test
2022-06-02 11:13:17 +08:00
Pascal Seitz
6937c75f05
hide advanced doc store api
2022-06-02 11:13:17 +08:00
Pascal Seitz
e54429e827
expose doc store functions
...
expose doc store functions for advanced usage
refactor cache
expose cache statistics
remove unnecessary arc
unduplicate code
2022-06-02 11:13:17 +08:00
Ryan Russell
ca836b6414
Improve Docs Readability ( #1380 )
...
Signed-off-by: Ryan Russell <git@ryanrussell.org >
2022-06-02 09:32:57 +09:00
Paul Masurel
f0a2b1cc44
Bumped tantivy and subcrate versions.
0.18
2022-05-25 22:50:33 +09:00
Paul Masurel
fcfdc44c61
Bumped tantivy-grammar version
2022-05-25 21:52:46 +09:00
Paul Masurel
3171f0b9ba
Added ZSTD support in CHANGELOG
2022-05-25 21:51:46 +09:00
PSeitz
89e19f14b5
Merge pull request #1374 from kryesh/main
...
Add Zstd compression support, Make block size configurable via IndexSettings
2022-05-25 07:39:46 +02:00
PSeitz
1a6a1396cd
Merge pull request #1376 from saroh/json-example
...
Add examples to explain default field handling in the json example
2022-05-24 07:09:37 +02:00
saroh
e766375700
remove useless example
2022-05-23 19:49:31 +02:00
PSeitz
496b4a4fdb
Update examples/json_field.rs
2022-05-23 12:24:36 +02:00
PSeitz
93cc8498b3
Update examples/json_field.rs
2022-05-23 11:59:42 +02:00
PSeitz
0aa3d63a9f
Update examples/json_field.rs
2022-05-23 11:39:45 +02:00
PSeitz
4e2a053b69
Update examples/json_field.rs
2022-05-23 11:27:05 +02:00
Paul Masurel
71c4393ec4
Clippy
2022-05-23 10:20:37 +09:00
saroh
b2e97e266a
more examples to explain default field handling
2022-05-21 17:36:39 +02:00
Antoine G
9ee4772140
Fix deps for unicode regex compiling ( #1373 )
...
* lint doc warning
* fix regex build
2022-05-20 10:18:44 +09:00
Kryesh
c95013b11e
Add zstd-compression feature to github workflow tests
2022-05-19 22:15:18 +10:00
Kryesh
fc045e6bf9
Cleanup imports, remove unneeded error mapping
2022-05-19 10:34:02 +10:00
Kryesh
6837a4d468
Fix bench
2022-05-18 20:35:29 +10:00
Kryesh
0759bf9448
Cleanup zstd structure and serialise to u32 in line with lz4
2022-05-18 20:31:22 +10:00
Kryesh
152e8238d7
Fix silly errors from running tests without feature flag
2022-05-18 19:49:10 +10:00
Kryesh
d4e5b48437
Apply feedback - standardise on u64 and fix correct compression bounds
2022-05-18 19:37:28 +10:00
Kryesh
03040ed81d
Add Zstd compression support
2022-05-18 14:04:43 +10:00
Kryesh
aaa22ad225
Make block size configurable to allow for better compression ratios on large documents
2022-05-18 11:13:15 +10:00
Antoine G
3223bdf254
Refactorize PhraseScorer::compute_phrase_match ( #1364 )
...
* Refactorize PhraseScorer::compute_phrase_match
* implem optim for slop
2022-05-13 09:57:21 +09:00
dependabot[bot]
cbd06ab189
Update pprof requirement from 0.8.0 to 0.9.0 ( #1365 )
...
Updates the requirements on [pprof](https://github.com/tikv/pprof-rs ) to permit the latest version.
- [Release notes](https://github.com/tikv/pprof-rs/releases )
- [Changelog](https://github.com/tikv/pprof-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tikv/pprof-rs/commits )
---
updated-dependencies:
- dependency-name: pprof
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 11:42:04 +09:00
Paul Masurel
749395bbb8
Added rustdoc for MultiFruit extract function ( #1369 )
2022-05-11 11:41:39 +09:00
Paul Masurel
617ba1f0c0
Bugfix in the document deserialization. ( #1368 )
...
Deserializing a json field does not expect the
end of the document anymore.
This behavior is well documented in serde_json.
https://docs.serde.rs/serde_json/fn.from_reader.html
Closes #1366
2022-05-11 11:38:10 +09:00
Paul Masurel
2f1cd7e7f0
Bugfix in the document deserialization. ( #1367 )
...
Deserializing a json field does not expect the
end of the document anymore.
This behavior is well documented in serde_json.
https://docs.serde.rs/serde_json/fn.from_reader.html
Closes #1366
2022-05-11 11:27:04 +09:00
PSeitz
58c0cb5fc4
Merge pull request #1357 from saroh/1302-json-term-writer-API
...
Expose helpers to generate json field writer terms
2022-05-10 11:02:05 +08:00
PSeitz
7f45a6ac96
allow setting tokenizer manager on index ( #1362 )
...
handle json in tokenizer_for_field
2022-05-09 18:15:45 +09:00
saroh
0ade871126
rename constructor to be more explicit
2022-05-06 13:29:07 +02:00
PSeitz
aab65490c9
Merge pull request #1358 from quickwit-oss/fix_docs
...
add alias shard_size to split_size for quickwit
2022-05-06 18:41:34 +08:00
Pascal Seitz
d77e8de36a
flip alias variable name
2022-05-06 17:52:36 +08:00
Pascal Seitz
d11a8cce26
minor docs fix
2022-05-06 17:52:36 +08:00
Pascal Seitz
bc607a921b
add alias shard_size split_size for quickwit
...
improve some docs
2022-05-06 17:52:36 +08:00
Paul Masurel
1273f33338
Fixed comment.
2022-05-06 18:35:25 +09:00
Paul Masurel
e30449743c
Shortens blocks' last_key in the SSTable block index. ( #1361 )
...
Right now we store last key in the blocks of the SSTable index.
This PR replaces the last key by a shorter string that is greater or
equal and still lesser than the next key.
This property is sufficiently to ensure the block index
works properly.
Related to quickwit#1366
2022-05-06 16:29:06 +08:00