Thanks Robert for the answers,
I'll investigate this approach.
--
Renaud Delbru

On 28/05/12 21:59, Robert Muir (JIRA) wrote:

     [ 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org


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

Reply via email to