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
Paul Masurel
ed26552296
Minor changes in query parsing for quickwit#1334. ( #1356 )
...
Quickwit's still heavily relies on generating field names
containing a '.' for nested object, yet allows for
user defined field names to contain a dot.
In order to reuse tantivy query parser, we will end up
using quickwit field names directly into tantivy.
Only '.' will be escaped.
This PR makes minor changes in how tantivy query parser parses
a field name and resolves it to a field.
Some of the new edge case behavior is hacky.
Closes #1355
2022-05-06 13:20:10 +09:00
Saroh
65d129afbd
better function names
2022-05-05 10:12:28 +02:00
Antoine G
386ffab76c
Fix documentation regression ( #1359 )
...
This breaks the doc on doc.rs as the type seems to shadow the struct https://docs.rs/tantivy/latest/tantivy/termdict/type.TermDictionary.html
introduced by #1293 which may not have been up to date with what was done in #1242
2022-05-05 14:59:25 +09:00
Pasha Podolsky
57a8d0359c
Make FruitHandle and MultiFruit public ( #1360 )
...
* Make `FruitHandle` and `MultiFruit` public
* Add docs for `MultiFruit` and `FruitHandle`
2022-05-05 14:58:33 +09:00
Saroh
14cb66ee00
move helper to indexer module
2022-05-04 18:01:57 +02:00
Saroh
9e38343352
expose helpers for json field writer manipulation
...
closes #1302
2022-05-04 18:01:45 +02:00
PSeitz
944302ae2f
Merge pull request #1350 from quickwit-oss/update_edition
...
update edition
2022-05-04 11:02:52 +02:00
Paul Masurel
be70804d17
Removed AtomicUsize.
2022-05-04 16:45:24 +09:00
PSeitz
a1afc80600
Update src/core/executor.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-05-04 08:39:44 +02:00
Paul Masurel
02e24fda52
Clippy fix
2022-05-04 12:24:07 +09:00
PSeitz
7e3c0c5392
Merge pull request #1353 from quickwit-oss/fix_docs
...
minor docs fixes
2022-05-02 07:48:25 +02:00
Pascal Seitz
fdb2524f9e
minor docs fixes
2022-05-02 12:26:12 +08:00
Pascal Seitz
4db655ae82
update dependencies, update edition
2022-04-28 22:50:55 +08:00
Pascal Seitz
bb44cc84c4
update dependencies
2022-04-28 20:55:36 +08:00
PSeitz
8c1e1cf1ad
Merge pull request #1349 from quickwit-oss/fix_error_message
...
print whole query on syntax error
2022-04-28 09:31:45 +02:00
Pascal Seitz
b5b16948b0
print whole query on syntax error
2022-04-27 12:48:30 +08:00