Alberto Paro created LUCENE-4298:
------------------------------------

             Summary: Infinite recursion in 
MultiFields.getTermDocsEnum(IndexReader r, Bits liveDocs, String field, 
BytesRef term)
                 Key: LUCENE-4298
                 URL: https://issues.apache.org/jira/browse/LUCENE-4298
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/index
            Reporter: Alberto Paro


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).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to