You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2012/05/23 20:47:42 UTC
[jira] [Commented] (LUCENE-4018) Make accessible subenums in
MappingMultiDocsEnum
[ https://issues.apache.org/jira/browse/LUCENE-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281798#comment-13281798 ]
Simon Willnauer commented on LUCENE-4018:
-----------------------------------------
this makes sense to me though any objections?
> Make accessible subenums in MappingMultiDocsEnum
> ------------------------------------------------
>
> Key: LUCENE-4018
> URL: https://issues.apache.org/jira/browse/LUCENE-4018
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/codecs
> Affects Versions: 4.0
> Reporter: Renaud Delbru
> Labels: codec, flex, merge
> Fix For: 4.0
>
> Attachments: LUCENE-4018.patch
>
>
> The #merge method of the PostingsConsumer receives MappingMultiDocsEnum and MappingMultiDocsAndPositionsEnum as postings enum. In certain case (with specific postings formats), the #merge method needs to be overwritten, and the underlying DocsEnums wrapped by the MappingMultiDocsEnum need to be accessed.
> The MappingMultiDocsEnum class should provide a method #getSubs similarly to MultiDocsEnum class.
--
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