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

Infinite recursion in MultiFields.getTermDocsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term)

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-BETA
    • 4.0, 6.0
    • core/index
    • None
    • New

    Description

      The function calls itself:

      public static DocsEnum getTermDocsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term) throws IOException

      { return getTermDocsEnum(r, liveDocs, field, term); }

      The more conservative approach is to pass DocsEnum.FLAG_FREQS as last parameter so we can call the getTermDocsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term, int flags).

      Attachments

        1. LUCENE-4298.patch
          0.7 kB
          Alberto Paro
        2. LUCENE-4298.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            aparo Alberto Paro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified