lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Paro (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4298) Infinite recursion in MultiFields.getTermDocsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term)
Date Thu, 09 Aug 2012 15:44:19 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message