lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4055) Refactor SegmentInfo / FieldInfo to make them extensible
Date Mon, 28 May 2012 20:09:23 GMT

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


Mime
View raw message