Commit Graph
1886 Commits
Author SHA1 Message Date
PSeitz d5ee4edf25 Merge pull request #1426 from k-yomo/support-custom-key-in-range-aggregation
Add support for custom key param for range aggregation
2022-08-03 04:31:02 -07:00
PSeitz fcc7bd7024 Merge pull request #1418 from quickwit-oss/gcd_encoding
apply gcd on fastfield as preprocessing
2022-07-29 02:00:14 -07:00
Pascal Seitz ce8d6b259a early return 2022-07-29 10:05:30 +02:00
k-yomo 099e626156 Refactor InternalRangeAggregationRange initialization with From trait 2022-07-29 05:41:29 +09:00
Pascal Seitz 6a9d09cf7a handle gcd like a composable codec 2022-07-28 09:54:35 +02:00
k-yomo 704d0a8d8b Refactor range aggregation tests 2022-07-28 06:31:25 +09:00
k-yomo 195309a557 Add support for custom key param for range aggregation 2022-07-28 06:21:39 +09:00
k-yomo 9b6b60cc2b Remove unnecessary keyed parameter setting 2022-07-27 18:43:52 +09:00
k-yomo 6444516a82 User serde default for the keyed params 2022-07-27 01:12:56 +09:00
k-yomo a9b0d1a0ab Fix aggreagtion examples 2022-07-26 18:54:27 +09:00
k-yomo 2b333ca635 Fix keyed param type in the comment 2022-07-26 18:35:01 +09:00
k-yomo 80a1418284 Use FnvHashMap for keyed bucket entries 2022-07-26 18:24:54 +09:00
k-yomo 5ab5f070ed Fix to use bool directory for the keyed parameter 2022-07-26 18:18:38 +09:00
k-yomo d122f2c74e Add tests for keyed buckets 2022-07-26 04:28:21 +09:00
k-yomo 5b564916f0 Add support for keyed parameter in range and histgram aggregations 2022-07-26 04:28:21 +09:00
Pascal Seitz 06fd8684b7 use filter to filter zero 2022-07-25 10:26:35 +02:00
Kanji Yomoda 931bab8010 Fix failing nanosec truncation check on mac OS (#1423) 2022-07-25 09:32:15 +09:00
Pascal Seitz 8dac30e6d1 fix benchmark 2022-07-22 17:44:06 +02:00
Pascal Seitz 2e0a7d072f use single pass for gcd 2022-07-22 16:04:32 +02:00
Kanji Yomoda af84e74284 Replace deprecated std package's constants on floats and integers (#1420) 2022-07-22 08:05:08 +09:00
Pascal Seitz 90e296f2d0 fix var name 2022-07-21 14:26:45 +02:00
PSeitzandPaul Masurel 5f966d747b Apply suggestions from code review
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-07-21 14:25:35 +02:00
Evance Soumaoro f26b686a1c expose IntermediateAggregationResults->into_final_bucket_result 2022-07-21 11:19:23 +00:00
Pier-Olivier Thibault 775e936f7d FileHandle: Change from boxed to Arc. (#1415)
* FileHandle: Change from boxed to Arc.

Changing from a Box<dyn FileHandle> to an Arc<dyn FileHandle> would
allow for a user of tantivy to manage file handles outside of tantivy
and be able to manage their life cycle.

* Fix: Rust linter
2022-07-21 16:19:18 +09:00
Pascal Seitz 7e032a9efd apply gcd on fastfield as preprocessing 2022-07-20 16:19:47 +02:00
PSeitz 23fe73a6c0 remove searcher pool and make Searcher cloneable (#1411)
* remove searcher pool and make Searcher cloneable

closes #1410

* use SearcherInner in InnerIndexReader
2022-07-12 18:07:48 +09:00
Evance Soumaoro a4be239d38 Updated DateTime to hold timestamp in microseconds, while making date field precision configurable (#1396) 2022-07-12 10:04:28 +09:00
PSeitz 2406d9278b allow set doc store cache size on IndexReaderBuilder (#1407) 2022-07-06 14:40:35 +09:00
Pascal Seitz 5750224d4c set docstore cache size at construction 2022-07-04 14:27:55 +08:00
Pascal Seitz 9db2f0e82b expose doc store cache size
expose lru doc store cache size
optimize doc store cache size
2022-07-04 13:54:41 +08:00
Pascal Seitz 1bd44a5f61 use total_cmp 2022-07-04 12:48:23 +08:00
Ryan Russell d750ced813 chore(collector): src/collector readability (#1399)
* chore(collector): `src/collector` readability

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* Update src/collector/tests.rs
2022-07-04 12:12:53 +09:00
Pascal Seitz 7eb267341e make errors cloneable 2022-06-30 19:42:23 +08:00
PSeitz db1836691e fix visibility (#1398) 2022-06-28 16:21:39 +09:00
Antoine G 437cd350a2 Add support for phrase slop in query language (#1393)
Closes #1390
2022-06-28 13:55:47 +09:00
PSeitzandPaul Masurel 9baefbe2ab Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel ad76d11008 Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel c3220bece0 Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel 2b713f0977 Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
Pascal Seitz 0bc6b4a117 renames and refactoring 2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel 79e42d4a6d Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel 0135fbc4c8 Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel 449594f67a Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
Pascal Seitz 8b6647e908 move writer to compressor thread 2022-06-23 15:34:21 +08:00
PSeitzandPaul Masurel efabcbcdf5 Update src/store/writer.rs
Co-authored-by: Paul Masurel <paul@quickwit.io>
2022-06-23 15:34:21 +08:00
Pascal Seitz 7bf5962554 merge match, explicit type 2022-06-23 15:34:21 +08:00
Pascal Seitz 4c7dedef29 use seperate thread to compress block store
Use seperate thread to compress block store for increased indexing performance. This allows to use slower compressors with higher compression ratio, with less or no perfomance impact (with enough cores).

A seperate thread is spawned to compress the docstore, which handles single blocks and stacking from other docstores.
The spawned compressor thread does not write, instead it sends back the compressed data. This is done in order to avoid writing multithreaded on the same file.
2022-06-23 15:34:21 +08:00
PSeitz 6ca5f77466 Merge pull request #1363 from quickwit-oss/refactor_aggregation
Add aggregation bucket limit
2022-06-23 10:27:57 +08:00
PSeitz de178a1901 Merge pull request #1395 from PSeitz/fix_clippy
fix clippy
2022-06-21 16:30:59 +08:00
Antoine G 11e4225f23 doc fix (#1391)
Documentation fix.
2022-06-21 15:53:33 +09:00