Paul Masurel 346fc31ac2 Chaining heaps.
We commit close segments when the indexer heap is close to its capacity.
(currently we use a limit of 10_000_000).

Because we do this check before indexing a document, and before
also because serialization starts by closing the postingswriter, and
therefore all of the recorders open for the last document, we may still
overflow the heap.

We don't want to resize the heap because we may have references to objects
in the current heap.

Because of that, heap are actually chained list.
In an ideal settings, the limit should work fine and this overflow behavior should
never be activated.
2016-09-14 10:27:55 +09:00
2016-08-14 10:58:04 +09:00
2016-08-15 00:19:41 +09:00
2016-09-14 10:27:55 +09:00
2016-08-11 16:26:18 +09:00
2016-08-11 21:18:59 +09:00
2016-08-11 16:52:44 +09:00
2016-08-26 10:17:09 +09:00
2016-08-14 10:58:04 +09:00

Build Status Coverage Status License: MIT

Tantivy

Check out the doc

Tantivy is a text search engine library written in rust. It also comes with a command-line CLI that can help you get an up and running search engine in minutes.

Contribute

Send me an email (paul.masurel at gmail.com) if you want to contribute to tantivy.

Description
Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
Readme MIT 82 MiB
Languages
Rust 100%