RE: Assertion error with NumericDocValues.advanceExact

2024-01-02 Thread erel
with assertions disabled. > > This is a large project which I can’t share. > > CheckIndex didn’t find any problems. > > > > Erel > > > > -- Adrien - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Assertion error with NumericDocValues.advanceExact

2023-12-30 Thread erel
.Lucene90DocValuesProducer$SparseNumericDocValues.advanceExact(Lucene90DocValuesProducer.java:453) Lucene 9.80 with a 9.80 index. Everything seems to work fine if I run it with assertions disabled. This is a large project which I can’t share. CheckIndex didn’t find any problems. Erel

Windows issue with "Using MemorySegmentIndexInput with Java 20" (?)

2023-12-13 Thread erel
to Java 20 a few weeks ago. Such issues never happened in the last two years. My (uneducated) guess is that an OS cache gets corrupt at some point and it might be related to the new mmap index. Erel

pagination with searchAfter

2022-09-23 Thread erel
inconsistencies but I want to make sure that following queries will still return reasonable results. Thanks, Erel

IndexSearcher and IndexWriter.rollback

2022-04-14 Thread erel
I’m using an IndexSearcher created from an IndexWriter (NRT mode). Up until now the IW was kept open forever. I want to properly handle cases where an indexing task failed and call IW.rollback to discard the incomplete changes. The problem I’m facing is that rollback also closes the writer. Q

Combination of BooleanQuery and PhraseQuery

2016-08-15 Thread Erel Uziel
Hi, Is there any query similar to BooleanQuery with SHOULD semantics that prefer documents where the terms are close to each other? I currently use a PhraseQuery with large slop for this. However this only works if all the terms are in the document. Best regards, Erel Uziel