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
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
PSeitz
c305d3a2a2
Merge pull request #1346 from quickwit-oss/term_agg
...
term agg
2022-04-26 07:08:07 +02:00
PSeitz
038d234ff1
Merge pull request #1347 from quickwit-oss/query_parser_error
...
fix query parser error field not found
2022-04-26 07:01:48 +02:00
Pascal Seitz
c45eb9a9fa
improve readability, add json test
2022-04-26 11:22:34 +08:00
Pascal Seitz
824d6f96fe
return query on parse error
2022-04-22 16:11:36 +08:00
Pascal Seitz
7cf821bac0
fix query parser error field not found
2022-04-22 12:40:00 +08:00
PSeitz
ae83fc8298
bump uuid to 1.0 ( #1345 )
2022-04-22 10:02:24 +09:00
dependabot[bot]
a7bc361145
Update pprof requirement from 0.7 to 0.8 ( #1343 )
...
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-04-21 09:35:13 +09:00
Pascal Seitz
2805291400
minor fixes
2022-04-20 14:22:44 +08:00
Pascal Seitz
6614a2cba0
fix is_fast for bytes field
2022-04-20 12:02:38 +08:00
Pascal Seitz
6f4d203d1b
return error on missing sub aggregation
2022-04-20 11:19:36 +08:00
Pascal Seitz
1be6c6111c
support order property on term aggregations
...
support order property on term aggregations
order can be by doc_count, key, or a metric sub_aggregation
2022-04-20 00:34:38 +08:00
PSeitz
c7c3eab256
Merge pull request #1340 from PSeitz/term_agg
...
fix collecting term_dict field names
2022-04-18 08:21:27 +02:00
Pascal Seitz
ec69875d15
fix collecting term_dict field names
...
fix collecting term_dict field names for sub_aggregations, minor refactoring
2022-04-15 17:49:20 +08:00
PSeitz
d832cfcfd8
Merge pull request #1329 from quickwit-oss/term_agg
...
add term aggregation
2022-04-14 14:45:21 +08:00
Pascal Seitz
ab6b532cc4
add comments
2022-04-14 12:06:36 +08:00
Pascal Seitz
4b6047f7d7
return Option from as_ methods
2022-04-14 10:48:36 +08:00
Pascal Seitz
5ca04beb94
add min_doc_count test
2022-04-13 19:51:18 +08:00
Pascal Seitz
902d05ebec
refactor getffreader function
2022-04-13 19:51:18 +08:00
Pascal Seitz
f1b298642a
remove unnecessary benchmarks
2022-04-13 19:51:18 +08:00
Pascal Seitz
dd13dedaeb
forward errors, remove unwrap
2022-04-13 19:51:18 +08:00
Pascal Seitz
46724b4a05
add segment_size, add get term dict fields, add tests
2022-04-13 19:51:18 +08:00
Pascal Seitz
24432bf523
add term aggregation
2022-04-13 19:51:18 +08:00
PSeitz
31d3bcfff2
Merge pull request #1334 from PSeitz/minor_fixes
...
fix DateTime naming, fix docs, cleanup
2022-04-13 13:13:57 +08:00
Pascal Seitz
706fbd6886
fix DateTime naming, fix docs, cleanup
2022-04-13 13:01:00 +08:00
PSeitz
8a8a048015
fix coverage ( #1335 )
2022-04-13 13:47:47 +09:00
dependabot[bot]
c72549cb9a
Bump codecov/codecov-action from 2 to 3 ( #1328 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 21:26:52 +09:00
PSeitz
d6f803212c
Merge pull request #1325 from quickwit-oss/term_agg
...
fast field on string
2022-04-04 15:34:31 +08:00
Pascal Seitz
dac73537d2
update changelog
2022-04-04 14:15:40 +08:00
Pascal Seitz
bb5254de12
always serialize, use enum as param
2022-04-04 13:50:23 +08:00
Maxim Kraynyuchenko
be5218c2f6
Company Logos were not visible in Dark Theme. ( #1326 )
2022-04-04 11:53:31 +09:00
Pascal Seitz
ec9478830a
add text test
...
move get multiple values to test code
remove sorting term ids per docidi for non facets
2022-03-30 11:31:33 +08:00
Pascal Seitz
8807bfd13d
fast field on string
...
enables FAST on string fields, which creates a fastfield containing the term ordinals
2022-03-29 12:40:10 +08:00
Maxim Kraynyuchenko
447811c111
Update README following sections: features, benchmark illustration & FAQ. ( #1318 )
...
* Updated features, benchmark illustration & FAQ.
* Updated README: Feat,Graph,Non-Feat,Companies,FAQ
2022-03-23 10:02:09 +09:00
PSeitz
f29acf5d8c
fix clippy ( #1321 )
2022-03-22 12:48:23 +09:00
Uwe Klotz
125707dbe0
Replace chrono with time ( #1307 )
...
For date values `chrono` has been replaced with `time`
- The `time` crate is re-exported as `tantivy::time` instead of `tantivy::chrono`.
- The type alias `tantivy::DateTime` has been removed.
- `Value::Date` wraps `time::PrimitiveDateTime` without time zone information.
- Internally date/time values are stored as seconds since UNIX epoch in UTC.
- Converting a `time::OffsetDateTime` to `Value::Date` implicitly converts the value into UTC.
If this is not desired do the time zone conversion yourself and use `time::PrimitiveDateTime`
directly instead.
Closes #1304
2022-03-21 10:50:19 +09:00
Paul Masurel
46d5de920d
Removes all usage of block_on, and use a oneshot channel instead. ( #1315 )
...
* Removes all usage of block_on, and use a oneshot channel instead.
Calling `block_on` panics in certain context.
For instance, it panics when it is called in a the context of another
call to block.
Using it in tantivy is unnecessary. We replace it by a thin wrapper
around a oneshot channel that supports both async/sync.
* Removing needless uses of async in the API.
Co-authored-by: PSeitz <PSeitz@users.noreply.github.com >
2022-03-18 16:54:58 +09:00
PSeitz
d2a7bcf217
fix fmt ( #1317 )
2022-03-18 15:53:27 +09:00
PSeitz
141b9aa245
Merge pull request #1306 from PSeitz/histogram
...
add Histogram aggregation
2022-03-18 05:03:46 +01:00
PSeitz
c5a6282fa8
Update src/aggregation/bucket/histogram/histogram.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-03-18 04:55:31 +01:00
PSeitz
c0f524e1a3
Update src/aggregation/bucket/histogram/histogram.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-03-18 04:55:25 +01:00
Paul Masurel
958b2bee08
Clippy comments ( #1316 )
2022-03-17 18:57:55 +09:00
Pascal Seitz
f619658e2c
rename
2022-03-17 16:37:57 +08:00
Pascal Seitz
aa391bf843
refactor parameters
2022-03-17 16:28:37 +08:00
Pascal Seitz
47dcbdbeae
handle empty results, empty indices, add tests
2022-03-17 10:24:34 +08:00
Pascal Seitz
691245bf20
make code more concise
2022-03-16 14:21:58 +08:00