Paul Masurel
fe3ecf9567
Added support for madvise ( #2036 )
...
Added support for madvise
2023-05-11 05:39:17 +02:00
PSeitz
ba309e18a1
switch to nanosecond precision ( #2016 )
2023-05-01 03:32:20 +02:00
Paul Masurel
fbda511a1a
Making more things public for quickwit. ( #2005 )
2023-04-20 11:37:45 +09:00
Paul Masurel
d002698008
Re-export of query grammar. ( #1908 )
2023-02-27 12:26:34 +09:00
Paul Masurel
6b403e3281
Re-export of columnar
2023-02-22 11:23:54 +09:00
PSeitz
01e5a22759
switch to new ff api ( #1868 )
2023-02-14 15:57:32 +08:00
Paul Masurel
60cc2644d6
Fixing test_fail_on_flush_segment_but_one_worker_remains ( #1869 )
...
The new fast field code, based on columnar, had a larger minimum memory
footprint, causing the first docuemnt to trigger a flush of the asegment
in this unit test.
This PR prevents the allocation of a large capacity for the different hashmap tables
using in the columnar writer.
Closes #1859
2023-02-14 16:09:42 +09:00
trinity-1686a
539ff08a79
move DateTime to tantivy_common ( #1861 )
...
* move DateTime to tantivy_common
* resolve imports of columnar::DateTime as import of common::DateTime
2023-02-11 17:03:06 +01:00
Paul Masurel
bd5eea9852
Integrated columnar work.
2023-02-09 13:14:31 +01:00
Paul Masurel
5180b612ef
Removing the demuxer code ( #1799 )
2023-01-18 16:12:35 +09:00
PSeitz
f687b3a5aa
start migrate Field to &str ( #1772 )
...
start migrate Field to &str in preparation of columnar
return Result for get_field
2023-01-18 16:12:07 +09:00
Adam Reichold
8312c882a5
More cosmetic fixes for upcoming Clippy lints. ( #1771 )
2023-01-10 10:32:45 +01:00
PSeitz
07a51eb7c8
refactor multivalue fastfield, refactor range query ( #1749 )
...
Introduce MakeZero trait, remove make_zero from FastValue
Merge two multivalue fastfield implementations into one
prepare range query on fastfield for different types
2023-01-05 12:09:50 +01:00
Paul Masurel
32cb1d22da
Removed AsyncIoResult. ( #1728 )
2022-12-21 16:01:17 +09:00
PSeitz
f9171a3981
fix clippy ( #1725 )
...
* fix clippy
* fix clippy fastfield codecs
* fix clippy bitpacker
* fix clippy common
* fix clippy stacker
* fix clippy sstable
* fmt
2022-12-20 07:30:06 +01:00
Paul Masurel
3edf0a2724
Using the manual reload policy in IndexWriter. ( #1667 )
2022-11-09 11:20:41 +01:00
PSeitz
0c2bd36fe3
Panic on duplicate field names ( #1647 )
...
fixes #1601
2022-10-26 16:17:33 +09:00
Paul Masurel
c24157f28b
Bumping version format. ( #1640 )
...
The docstore format has changed in a non-compatible manner.
2022-10-21 15:35:35 +09:00
Paul Masurel
8e775b6c3d
Refactoring dyn Column ( #1502 )
2022-09-02 17:26:30 +09:00
Paul Masurel
08c4412d73
Adding dragon API to build index without any thread. ( #1496 )
...
Closes #1487
2022-09-01 10:32:36 +09:00
Paul Masurel
5331be800b
Introducing a column trait
2022-08-28 14:14:27 +02:00
Paul Masurel
4a3169011d
clippy ( #1452 )
2022-08-20 20:01:33 +09:00
Kanji Yomoda
931bab8010
Fix failing nanosec truncation check on mac OS ( #1423 )
2022-07-25 09:32:15 +09: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
Pascal Seitz
706fbd6886
fix DateTime naming, fix docs, cleanup
2022-04-13 13:01:00 +08: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
Paul Masurel
2ead010c83
Tantivy quickwit ( #1293 )
...
* Added sstable and enabling it by default, and parallel boolean query.
* Added async API for FileSlice.
* Added async get_doc
* Reduce blocksize to 32_000
* Added debug logs
Quickwit specific feature a hidden behind the quickwit feature flag.
2022-02-25 17:32:49 +09:00
PSeitz
972cb6c26d
Aggregation ( #1276 )
...
Added support for aggregation compatible with Elasticsearch's API.
2022-02-21 09:59:11 +09:00
Paul Masurel
2069e3e52b
Fixing clippy comments
2022-02-01 10:24:05 +09:00
Paul Masurel
eca6628b3c
Minor refactoring ( #1266 )
2022-01-28 15:55:55 +09:00
Paul Masurel
9679c5f306
Rename quickwit-inc -> quickwit-oss
2022-01-27 15:37:09 +09:00
Shikhar Bhushan
99d4b1a177
Searcher Warming API ( #1261 )
...
Adds an API to register Warmers in the IndexReader.
Co-authored-by: Paul Masurel <paul@quickwit.io >
2022-01-20 23:40:25 +09:00
Paul Masurel
3ea6800ac5
Pleasing clippy ( #1253 )
2022-01-06 16:41:24 +09:00
Paul Masurel
b2da82f151
Making MergeCandidate public in order to allow the usage of custom merge ( #1237 )
...
policies.
Closes #1235
2021-12-13 09:54:21 +09:00
Paul Masurel
8802d125f8
Prepare commit is public again ( #1202 )
...
- Simplified some of the prepare commit & segment updater code using
async.
- Made PrepareCommit public again.
2021-11-12 23:25:39 +09:00
Paul Masurel
7234bef0eb
Issue/1198 ( #1201 )
...
* Unit test reproducing #1198
* Fixing unit test to handle the error from add_document.
* Bump project version
2021-11-11 16:42:19 +09:00
Paul Masurel
54afb9b34a
Made PrepareCommit private
2021-10-29 14:13:14 +09:00
Dan Cecile
6317982876
Make indexer::prepared_commit public ( #1184 )
...
* Make indexer::prepared_commit public
* Add PreparedCommit to lib
2021-10-26 12:21:24 +09:00
PSeitz
3a78402496
update links ( #1176 )
2021-10-18 20:45:40 +09:00
Paul Masurel
02cffa4dea
Code simplification. ( #1169 )
...
Code simplification and Clippy
2021-10-07 14:11:44 +09:00
PSeitz
352e0cc58d
Adde demux operation ( #1150 )
...
* add merge for DeleteBitSet, allow custom DeleteBitSet on merge
* forward delete bitsets on merge, add tests
* add demux operation and tests
2021-10-06 16:05:16 +09:00
Pascal Seitz
62052bcc2d
add missing test function
...
closes #1139
2021-08-20 07:26:22 +01:00
Pascal Seitz
3265f7bec3
dissolve common module
2021-08-19 23:26:34 +01:00
Evance Soumaoro
5b475e6603
Checksum validation using active files ( #1130 )
...
* now validate checksum uses segment files not managed files
2021-08-19 10:03:20 +09:00
Pascal Seitz
a1ac63ee1c
fix clippy
2021-07-01 18:06:03 +02:00
Pascal Seitz
1e4df54ab3
fix clippy
2021-07-01 17:41:53 +02:00
Pascal Seitz
3b5c1d7817
use measure_time 0.7
2021-06-30 11:08:02 +02:00
Pascal Seitz
9b743d60fb
make docid mapping non optional
...
make docid mapping non optional
add trivial flag for docid mapping
add time measurements
2021-06-30 08:57:55 +02:00