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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-BETA
    • Fix Version/s: 4.0, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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
          2 kB
          Robert Muir
        2. LUCENE-4298.patch
          0.7 kB
          Alberto Paro

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aparo Alberto Paro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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