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
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
Pascal Seitz
29d56111de
refactor, fix api
...
refactor
fix clippy
fix docs
remove unused code
fix bytesfield index api flaw
2022-09-07 18:43:04 +08:00
Paul Masurel
4d634d61ff
Expose memory usage in SingleSegmentIndexWriter ( #1508 )
2022-09-07 18:33:52 +09:00
PSeitz
1f3d8ca7e2
Merge pull request #1507 from quickwit-oss/improve_test
...
add check to proptest
2022-09-07 02:30:29 -07:00
PSeitz
54696da771
Merge pull request #1505 from quickwit-oss/refact-fast-field
...
Refact fast field
2022-09-07 02:07:42 -07:00
Pascal Seitz
21c2205de9
add check to proptest
2022-09-07 16:58:07 +08:00
Pascal Seitz
21c9a26182
add ff creation benchmark
2022-09-07 15:43:50 +08:00
Pascal Seitz
56c68f5869
add ff creation benchmark
2022-09-07 14:03:24 +08:00
Pascal Seitz
f5e66042d8
no alloc in loop
2022-09-07 12:42:16 +08:00
Pascal Seitz
bf3327acd3
add benchmark for multivalue fast field
2022-09-06 16:55:30 +08:00
Pascal Seitz
9c2ef81198
fix clippy
2022-09-06 13:34:36 +08:00
Paul Masurel
c5d30a54bc
CR
2022-09-06 00:16:41 +09:00
Paul Masurel
c632fc014e
Refactoring fast fields codecs.
...
This removes the GCD part as a codec, and
makes it so that fastfield codecs all share
the same normalization part (shift + gcd).
2022-09-05 23:07:12 +09:00
Pascal Seitz
085e63ae43
return new segment meta
2022-09-05 15:19:01 +08:00