lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <>
Subject [jira] Commented: (LUCENE-1959) Index Splitter
Date Thu, 08 Oct 2009 10:03:31 GMT


Andrzej Bialecki  commented on LUCENE-1959:

I'm of a split mind about this splitter ;) in the sense that I'm not sure how useful it is
- if your input is an optimized index then it has just 1 segment, so this tool won't be able
to split it, right?

AFAIK a similar functionality can be implemented also using two other methods that would work
on indexes with any number of segments: one method is trivial, based on a "delete/IndexWriter.addIndexes/undeletAll"
loop that requires multiple passes over input data, the other would use the same method as
SegmentMerger uses, i.e. working with FieldsWriter, FormatPostings*Consumer, TermVectorsWriter,
etc. for a single-pass splitting.

So I guess I'm -0 on this index splitting method, because I think we can do it better.

> Index Splitter
> --------------
>                 Key: LUCENE-1959
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: Jason Rutherglen
>            Assignee: Michael McCandless
>            Priority: Trivial
>             Fix For: 3.1
>         Attachments: LUCENE-1959.patch
> If an index has multiple segments, this tool allows splitting those segments into separate

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message