lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] mlaufer edited a comment on issue #296: IndexOutOfRangeException when searching
Date Mon, 03 Aug 2020 11:45:23 GMT

mlaufer edited a comment on issue #296:

   I installed the nugt artifact locally and the error seems to not occur as often as before,
but I'm still able to reproduce it:
   ```System.IndexOutOfRangeException: Index was outside the bounds of the array.
      at Lucene.Net.Util.Automaton.UTF32ToUTF8.Convert(Automaton utf32)
      at Lucene.Net.Util.Automaton.CompiledAutomaton..ctor(Automaton automaton, Nullable`1
finite, Boolean simplify)
      at Lucene.Net.Search.FuzzyTermsEnum.InitAutomata(Int32 maxDistance)
      at Lucene.Net.Search.FuzzyTermsEnum.GetAutomatonEnum(Int32 editDistance, BytesRef lastTerm)
      at Lucene.Net.Search.FuzzyTermsEnum.MaxEditDistanceChanged(BytesRef lastTerm, Int32
maxEdits, Boolean init)
      at Lucene.Net.Search.FuzzyTermsEnum..ctor(Terms terms, AttributeSource atts, Term term,
Single minSimilarity, Int32 prefixLength, Boolean transpositions)
      at Lucene.Net.Search.FuzzyQuery.GetTermsEnum(Terms terms, AttributeSource atts)
      at Lucene.Net.Search.TermCollectingRewrite`1.CollectTerms(IndexReader reader, MultiTermQuery
query, TermCollector collector)
      at Lucene.Net.Search.TopTermsRewrite`1.Rewrite(IndexReader reader, MultiTermQuery query)
      at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader)
      at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader)
      at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader)
      at Lucene.Net.Search.IndexSearcher.Rewrite(Query original)
      at Lucene.Net.Search.IndexSearcher.CreateNormalizedWeight(Query query)
      at Lucene.Net.Search.IndexSearcher.Search(Query query, Int32 n, Sort sort)```
   With the added retry functionality, I wasn't able to produce 2 errors in a row using the
same FuzzyQuery.

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:

View raw message