Lucene - Core
  1. Lucene - Core
  2. LUCENE-4992

ArrayOutOfBoundsException in BooleanScorer2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.4, Trunk
    • 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)

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            John Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development