Paul Masurel
1553901f51
Introducing a column trait
2022-08-27 22:48:05 +02:00
Paul Masurel
e8a6e123ae
Small refactoring estimate.
2022-08-27 21:53:46 +02:00
Paul Masurel
43a4c8287c
Removing Deserializer trait
...
And renaming the `Serializer` trait `FastFieldCodec`.
2022-08-27 21:11:54 +02:00
PSeitz
0dd62169c8
merge FastFieldCodecReader wit FastFieldDataAccess ( #1485 )
...
* num_vals to FastFieldCodecReader
* split open_from_bytes to own trait
* rename get_u64 to ge_val
* merge traits
2022-08-28 03:58:28 +09:00
Paul Masurel
3a9727aa91
Pleasing Clippy
2022-08-27 11:33:03 +02:00
UEDA Akira
17093e8ffe
Collapse overlapped highlighted ranges ( #1473 )
2022-08-26 14:37:08 +09:00
Paul Masurel
d8f66ba07e
Rename fastfield codecs ( #1483 )
2022-08-26 01:19:30 +09:00
Paul Masurel
3673a5df9b
Homogeneous codec names. ( #1481 )
2022-08-25 05:51:37 +09:00
Paul Masurel
298b5dd726
GCD wrapper uses DividerU64 ( #1478 )
2022-08-25 02:29:13 +09:00
Paul Masurel
8bbb22e9bf
Minor refactoring. Introducing a codec type enum. ( #1477 )
2022-08-25 02:21:41 +09:00
PSeitz
c476b530cf
Merge pull request #1432 from quickwit-oss/gcd_encoding
...
add gcd test for DateTime
2022-08-24 06:50:34 -07:00
Pascal Seitz
00ebff3c16
move fastfield stats to trait
2022-08-24 15:29:55 +02:00
Paul Masurel
9a6d37c42c
Apply suggestions from code review
2022-08-24 21:20:17 +09:00
PSeitz
bb01e99e05
Fixes race condition in Searcher ( #1464 )
...
Fixes a race condition in Searcher, by avoiding repeated calls to open_segment_readers and passing them instead as argument
Closes #1461
2022-08-24 21:17:37 +09:00
Pascal Seitz
625f9174a7
check for size
2022-08-24 10:32:45 +02:00
Pascal Seitz
6f65995cfd
remove gcd from api
2022-08-24 10:24:09 +02:00
Pascal Seitz
e2e4190571
add gcd test for DateTime
2022-08-24 10:24:09 +02:00
Paul Masurel
21519788ea
Build fix ( #1470 )
2022-08-24 07:16:38 +09:00
Shikhar Bhushan
4c6c6e4a9c
ConstScoreQuery (#1463 )
2022-08-24 06:37:34 +09:00
Adam Reichold
df0ac9e901
Extend facet deserialization to handle owned in addition to borrowed strings. ( #1466 )
2022-08-24 06:37:13 +09:00
Adam Reichold
71ab482720
RFC: Use a more general but still object-safe signature for Query::query_terms. ( #1468 )
...
* Use a more general but still object-safe signature for Query::query_terms.
* Further constraint the generalized Query::query_terms signature to allow extracting references to terms.
2022-08-24 06:34:07 +09:00
PSeitz
8b3a6f6231
Merge pull request #1439 from quickwit-oss/fix_value_range
...
fix get calculated value
2022-08-23 10:15:13 -07:00
Pascal Seitz
c39c2d79da
move iter to FastFieldDataAccess
2022-08-23 11:26:47 +02:00
Paul Masurel
67d94f5bd2
Getting rid of the gcd dependency and using NonZeroU64 in gcd. ( #1459 )
2022-08-23 07:25:26 +09:00
Paul Masurel
abbd934ac9
Embeds OwnedBytes into the FastFieldCodecReader. ( #1458 )
2022-08-23 00:02:31 +09:00
Paul Masurel
7f9ba0ee50
Minor readability refactoring in the SegmentDocIdMapping ( #1451 )
2022-08-22 22:44:36 +09:00
PSeitz
8edcd6f958
Merge pull request #1428 from izihawa/feature/dismax
...
[feat] Implement `DisjunctionMaxQuery` and refactor `ScoreCombiner`
2022-08-22 06:15:30 -07:00
Pasha Podolsky
f50700835d
[fix] Fn -> FnOnce
2022-08-22 15:57:30 +03:00
PSeitz
494e92ca59
fix issue in composite ( #1456 )
...
The file offsets were recorded incorrectly in some cases, e.g. when the recording looked like this [(Field 1, Index 0, Offset 0), (Field 1, Index 1, Offset 14), (Field 0, Index 0, Offset 14)]. The last file is offset 14 to end of file for field 0. But the data was converted to a vec and sorted, which changes the last file to Field 1.
2022-08-22 17:52:12 +09:00
Paul Masurel
4a3169011d
clippy ( #1452 )
2022-08-20 20:01:33 +09:00
Paul Masurel
ce45889add
Minor codestyle change is prefix of ( #1450 )
...
* Minor code stlye change in the Facet::is_prefix_of.
* bugfix
2022-08-19 21:20:33 +09:00
Kanji Yomoda
0c634c5bc6
Add missing seek to RequiredOptionalScorer ( #1442 )
2022-08-19 18:08:52 +09:00
Paul Masurel
e25ab5d537
Minor code stlye change in the Facet::is_prefix_of. ( #1449 )
2022-08-19 18:05:11 +09:00
Adam Reichold
27400c9ad3
Check for the special case of the root facet as prefix of other facets. ( #1448 )
2022-08-19 17:45:14 +09:00
Kian-Meng Ang
014b1adc3e
cargo +nightly fmt
2022-08-17 22:33:44 +08:00
Kian-Meng Ang
84295d5b35
cargo fmt
2022-08-15 21:07:01 +08:00
Kian-Meng Ang
625bcb4877
Fix typos and markdowns
...
Found via these commands:
codespell -L crate,ser,panting,beauti,hart,ue,atleast,childs,ond,pris,hel,mot
markdownlint *.md doc/src/*.md --disable MD013 MD025 MD033 MD001 MD024 MD036 MD041 MD003
2022-08-13 18:25:47 +08:00
Evance Soumaoro
fad3faefe2
added InvertedIndexReader::doc_freq_async and SnippetGenerator::new methods
2022-08-12 06:39:10 +00:00
Pascal Seitz
9811d15657
improve slope calculation by delaying f64 cast
2022-08-11 13:32:10 +02:00
boraarslan
d4b2b7de8b
Expose inner file slice
2022-08-04 18:13:17 +03:00
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
Pasha Podolsky
71041b2314
[fix] Fix bench
2022-07-28 21:36:28 +03:00
Pasha Podolsky
09aae134e6
[feat] Implement DisjunctionMaxQuery and refactor ScoreCombiner
2022-07-28 20:47:20 +03: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