Bruce Mitchener
c694bc039a
Fix missing doc warnings when enabling feature "quickwit".
2022-10-05 20:17:10 +07:00
Pascal Seitz
d742275048
renames
2022-10-05 19:16:49 +08:00
PSeitz
b9f06bc287
Update src/fastfield/multivalued/mod.rs
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-10-05 19:09:19 +08:00
Pascal Seitz
8b42c4c126
disable linear codec for multivalue value index
...
don't materialize index column on merge
use simpler chain() variant
2022-10-05 19:09:17 +08:00
PSeitz
7905965800
Merge pull request #1594 from quickwit-oss/flat_map_with_buffer
...
Removing alloc on all .next() in MultiValueColumn
2022-10-05 18:34:15 +08:00
Pascal Seitz
f60a551890
add flat_map_with_buffer to Iterator trait
2022-10-05 17:44:26 +08:00
Paul Masurel
7baa6e3ec5
Removing alloc on all .next() in MultiValueColumn
2022-10-05 17:12:06 +09:00
PSeitz
2100ec5d26
Merge pull request #1593 from waywardmonkeys/doc-improvements
...
Documentation improvements.
2022-10-05 15:50:08 +08:00
Bruce Mitchener
b3bf9a5716
Documentation improvements.
2022-10-05 14:18:10 +07:00
Paul Masurel
0dc8c458e0
Flaky unit test. ( #1592 )
2022-10-05 16:15:48 +09:00
trinity-1686a
5945dbf0bd
change format for store to make it faster with small documents ( #1569 )
...
* use new format for docstore blocks
* move index to end of block
it makes writing the block faster due to one less memcopy
2022-10-04 09:58:55 +02:00
PSeitz
4cf911d56a
Merge pull request #1587 from quickwit-oss/no_get_val_in_serialize
...
remove get_val in serialization
2022-10-04 12:56:48 +08:00
Pascal Seitz
6d9a123cf2
remove get_val in serialization
...
remove get_val in serialization and mark as unimplemented!()
replace get_val with iter in linear codec
remove MultivalueStartIndexRandomSeeker
replace MultivalueStartIndexIter with closure
Sample 100 values in linear codec
2022-10-04 12:01:25 +08:00
Pascal Seitz
b062ab2196
use groupby instead of vec allocation
2022-10-04 09:26:26 +08:00
Bruce Mitchener
44e03791f9
Fix warnings when doc'ing private items. ( #1579 )
...
This also fixes a couple of typos, but plenty remain!
2022-10-03 14:24:00 +09:00
Bruce Mitchener
2d23763e9f
Use u64::from boolean more. ( #1580 )
...
This case is inverted from the previous cases fixed.
This is from nightly clippy.
2022-10-03 14:17:50 +09:00
Bruce Mitchener
a24ae8d924
clippy: Fix needless-borrow warnings. ( #1581 )
...
These show on nightly clippy.
2022-10-03 14:15:09 +09:00
Pascal Seitz
a695edcc95
remove dead indexing code
2022-10-03 09:44:02 +08:00
PSeitz
b50e4b7c20
Merge pull request #1566 from quickwit-oss/fix_docstore_sorting
...
fix docstore settings for temp docstore
2022-09-30 10:10:36 +08:00
PSeitz
f8686ab1ec
improve comments
...
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-09-30 10:06:34 +08:00
PSeitz
2fe42719d8
Merge pull request #1570 from quickwit-oss/no_sort_on_multi
...
validate index settings on create
2022-09-30 09:17:03 +08:00
PSeitz
fadd784a25
log improvements ( #1564 )
2022-09-30 09:39:26 +09:00
Pascal Seitz
0e94213af0
validate index settings on create
2022-09-29 18:58:09 +08:00
Pascal Seitz
8f647b817f
fix docstore settings for temp docstore
...
fixes #1565
2022-09-28 17:53:59 +08:00
trinity-1686a
a86b0df6f4
Add query matching terms in a set ( #1539 )
2022-09-28 09:43:18 +02:00
Bruce Mitchener
f842da758c
Move ArcBytes,WeakArcBytes to mmap_directory. ( #1555 )
...
When building without default features (so without mmap, etc),
there are some warnings about unused things. This fixes the
ones related to `ArcBytes` and `WeakArcBytes`, which are only
used with the `mmap_directory` code.
2022-09-27 09:57:28 +09:00
Bruce Mitchener
97ccd6d712
Avoid slicing a string in DocParsingError. ( #1559 )
...
Fixes #1339 .
2022-09-26 20:27:15 +09:00
Bruce Mitchener
cb252a42af
docs: "associated to" -> "associated with" ( #1557 )
...
This reads better this way.
2022-09-26 20:23:37 +09:00
Bruce Mitchener
d9609dd6b6
POLLING_INTERVAL needn't be pub. ( #1556 )
...
This is only used within the file watcher and is const, so it
can't be configured.
2022-09-26 20:22:55 +09:00
Pascal Seitz
f757471077
prepare for ip field
2022-09-26 16:27:35 +08:00
PSeitz
21e0adefda
use binary search instead of linear for get_val in merge ( #1548 )
...
* use binary search instead of linear for get_val in merge
* use partition_point
2022-09-26 09:42:33 +09:00
Bruce Mitchener
ea8e6d7b1d
Tidy up clippy config. ( #1547 )
...
* Checking cfg_attr is no longer necessary.
* Don't need multiple `clippy::` prefixes on a name.
2022-09-26 09:37:55 +09:00
Bruce Mitchener
d231671fe2
clippy: Remove borrows that the compiler will do.
...
This started showing up with clippy in rust 1.64.
2022-09-22 22:38:23 +07:00
trinity-1686a
fa3d786a2f
Add support for deleting all documents matching query ( #1535 )
...
* add support for deleting all documents matching query
#1494
2022-09-22 21:26:09 +09:00
Paul Masurel
75aafeeb9b
Added a function to deep clone RamDirectory. ( #1544 )
2022-09-22 12:04:02 +02:00
Pascal Seitz
22e56aaee3
add benchmarks for multivalued fastfield merge
2022-09-22 11:25:41 +08:00
Paul Masurel
1998111521
Minor refactoring fast fields ( #1537 )
2022-09-21 12:46:11 +09:00
PSeitz
acb2e2e282
Merge pull request #1532 from quickwit-oss/refactor_ff
...
remove fast_field_cardinality from FastValue
2022-09-21 04:00:35 +02:00
Pascal Seitz
1ff5da5eb4
remove fast_field_cardinality from FastValue
...
unused and at the wrong placed
2022-09-21 09:38:46 +08:00
Bruce Mitchener
c3b25710ad
doc: Improve directory::Lock docs. ( #1534 )
...
Update the docs to reflect the lack of LockParams, correct an error,
and improve cross-linking.
2022-09-20 18:03:35 +09:00
Bruce Mitchener
cf02e32578
Improvements to doc linking, grammar, etc.
2022-09-19 18:10:22 +07:00
PSeitz
8cca1014c9
Merge pull request #1527 from waywardmonkeys/remove-stream_field-reference
...
docs: Remove mentions of stream_field method.
2022-09-19 17:16:46 +08:00
Bruce Mitchener
68b6254b09
docs: Remove mentions of stream_field method.
...
This method doesn't exist, so no need to mention it.
2022-09-18 23:13:41 +07:00
Bruce Mitchener
6a88ac3fe3
Documentation improvements.
...
Fix some linking, some grammar, some typos, etc.
2022-09-18 18:05:37 +07:00
Paul Masurel
64f08a1a5c
Hiding useless symbols and removing code. ( #1522 )
2022-09-16 14:42:27 +09:00
Paul Masurel
817225edfb
Allow for a same-thread doc compressor. ( #1510 )
...
In addition, it isolates the doc compressor logic,
better reports io::Result.
In the case of the same-thread doc compressor,
the blocks are also not copied.
2022-09-13 15:32:48 +09:00
PSeitz
45924711fd
improve docs ( #1514 )
...
fix link alias after https://github.com/rust-lang/rustfmt/pull/5262 has been merged and released.
fix dead links
2022-09-08 22:33:59 +09:00
PSeitz
14cb817a52
Merge pull request #1509 from quickwit-oss/refact-fast-field
...
refactor, fix api
2022-09-07 22:04:32 -07:00
Pascal Seitz
edd9155b88
return Write, add documentation
2022-09-08 12:41:55 +08:00
PSeitz
9497794d40
fix positions docs ( #1511 )
2022-09-08 10:24:00 +09:00