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

ArrayOutOfBoundsException in BooleanScorer2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.4, 6.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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. patch.diff
          0.7 kB
          John Wang
        2. LUCENE-4992.patch
          2 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              john.wang@gmail.com John Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: