[
https://issues.apache.org/jira/browse/LUCENE-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284553#comment-13284553
]
Robert Muir commented on LUCENE-4055:
-------------------------------------
Well you can do postingsFormat instanceof PerFieldPostingsFormat +
postingsFormat.getPostingsFormatForField if you really want.
But keep in mind PerFieldPostingsFormat is not really special and just one we
provide for convenience, obviously one could write their own PostingsFormat
that implements the same thing in a different way.
> Refactor SegmentInfo / FieldInfo to make them extensible
> --------------------------------------------------------
>
> Key: LUCENE-4055
> URL: https://issues.apache.org/jira/browse/LUCENE-4055
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/codecs
> Reporter: Andrzej Bialecki
> Assignee: Robert Muir
> Fix For: 4.0
>
> Attachments: LUCENE-4055.patch
>
>
> After LUCENE-4050 is done the resulting SegmentInfo / FieldInfo classes
> should be made abstract so that they can be extended by Codec-s.
--
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]