-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indexing too many document fails in one commit fails. #2
Comments
FYI Here is the backtrace.
|
Can you reproduce the panic with RUST_BACKTRACE=full enabled? There are multiple array accesses in TermsHashPerFieldBase::write_byte. Line number would make it easier to find out the place caused overflow. Thanks |
I don't have time for this but you can reproduce on your own by running
in the search benchmark project... |
Sure, let me try it out |
@fulmicoton, It is a a 2GB limit with using i32. We will fix it soon. |
Context: I am adding rucene to https://github.com/tantivy-search/search-benchmark-game.
It is a search benchmarking comparing Lucene, Tantivy, Bleve and now Rucene.
Indexing works but I have to periodically commit to avoid getting a panic.
See the following two lines of code and comment.
https://github.com/tantivy-search/search-benchmark-game/blob/master/engines/rucene-0.1/src/bin/build_index.rs#L103-L104
(I suspect a
u32
overflow)The text was updated successfully, but these errors were encountered: