[ 
https://issues.apache.org/jira/browse/LUCENE-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284537#comment-13284537
 ] 

Robert Muir commented on LUCENE-4055:
-------------------------------------

{quote}
However, I would still need the codec metadata for every field.
{quote}

What codec metadata? this change only allows codecs to add additional things to 
fieldinfo/segmentinfo so they can later be read when the segment is opened. 
E.g. a CompressingStoredFieldsWriter could put in the segmentinfo an additional 
key-value like "CompressingStoredFieldsWriter.algorithm=deflate"

These are private to that component basically: i don't understand why your 
indexing chain would care about this? its at a level above all that.

                
> 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]

Reply via email to