lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] NightOwl888 commented on issue #296: IndexOutOfRangeException when searching
Date Tue, 16 Jun 2020 23:18:07 GMT

NightOwl888 commented on issue #296:
URL: https://github.com/apache/lucenenet/issues/296#issuecomment-645058841


   Thanks for the report. The stack trace is helpful as it indicates an index read failure,
but could you provide more sample setup code? It would be helpful if you could provide the
following:
   
   1. Which Lucene version compatibility setting you are using
   3. Sample code to create an index (including field/analyzer setup)
   4. Sample query code to read the index
   5. Some sample data
   
   It is much more likely we will solve this if we have code that can be run to duplicate
the conditions at the time of the exception, either as a standalone console app or a test.
   
   I suspect there may be a mismatch between the `BlockTreeTermsWriter` and the `BlockTreeTermsReader`.
It may be unrelated, but there is a comment in the code [in the `BlockTreeTermsWriter`](https://github.com/apache/lucenenet/blob/a7f7c40895b156681beaea22e1da8f46e265a98c/src/Lucene.Net/Codecs/BlockTreeTermsWriter.cs#L438-L440)
that indicates an index out of range exception when asserting the "floor blocks" data. Floor
blocks are used if you have more than 48 terms in a block.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message