Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4992

ArrayOutOfBoundsException in BooleanScorer2

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.4, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      Seeing following exception in BooleanScorer2 in our production system:
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2147483647
      at org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:312)
      at org.apache.lucene.queries.CustomScoreQuery$CustomScorer.score(CustomScoreQuery.java:324)
      at org.apache.lucene.search.DisjunctionMaxScorer.score(DisjunctionMaxScorer.java:84)
      at org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
      at org.apache.lucene.search.Scorer.score(Scorer.java:64)
      at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:605)
      at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:482)
      at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:438)
      at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
      at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)

      Attachments

        1. LUCENE-4992.patch
          2 kB
          Robert Muir
        2. patch.diff
          0.7 kB
          John Wang

        Activity

          People

            Unassigned Unassigned
            john.wang@gmail.com John Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: