lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Possible bug/issue when index sorting is enabled.
Date Mon, 27 Aug 2018 05:44:50 GMT
Hi Lucene Developer community,

I may have hit a Lucene issue and I would like clarification if this is
indeed a bug.

1. Enable index sorting for the index
2. Add document with id=1 and yVal=Long.MaxValue
3. Delete document with id, followed by add document with same id with
4. Flush index.
5. Search for documents with yVal=Long.MaxValue. Deleted document is
returned as part of results.

Here is the concise sample code that reproduces bug:

The issue does not reproduce if index sorting is disabled in the code.

I checked with Tomas F. Lobbe on this issue and he was able to concur with
me that this may be a bug - but we wanted to check with the group before
filing one.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message