lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4055) Refactor SegmentInfo / FieldInfo to make them extensible
Date Mon, 14 May 2012 01:13:48 GMT


Robert Muir commented on LUCENE-4055:

rough plan:
* create branch for this and LUCENE-4050, the work is related really.
* separate per commit information (SegmentList? Commit?) from per-segment metadata (SegmentInfo?
SegmentMetadata?). the latter is basically si and fi. these names can change. maybe fi is
still preserved mostly asis.
* clean up the way per-segment metadata is used in such a way that it is abstract and minimal
to what IndexWriter/MP needs, not full of codec specific stuff.
* ensure codecs can privately write any metadat they need (eg hasProx) and that its accessible
via all codec apis.
* try to ensure codecs write things they need like hasProx to compute files() without iterating
over fieldinfos. this would be a bonus, its currently a concern of mine.
* add a basic introspection api (like map<string,string>) for tools like luke to be
able to display codec private values.

> Refactor SegmentInfo / FieldInfo to make them extensible
> --------------------------------------------------------
>                 Key: LUCENE-4055
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/codecs
>            Reporter: Andrzej Bialecki 
>            Assignee: Robert Muir
>             Fix For: 4.0
> 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message