[
https://issues.apache.org/jira/browse/LUCENE-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4298:
--------------------------------
Attachment: LUCENE-4298.patch
Updated Alberto's patch with a test.
> 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
> Affects Versions: 4.0-BETA
> Reporter: Alberto Paro
> Attachments: LUCENE-4298.patch, LUCENE-4298.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]