lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Dimitrov Vasilev (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3188) The class from cotrub directory org.apache.lucene.index.IndexSplitter creates a non correct index
Date Fri, 10 Jun 2011 16:37:59 GMT


Ivan Dimitrov Vasilev commented on LUCENE-3188:

Hi Steve,

I attached the patch to this issue as required from Apache (or at least I think so :) ).
I do not have lot of time now to read in depth Apache docs about the procedures when contributing
but I saw on the wiki that I should provide also test cases that show the bug and they should
be in form of unit tests. I provided a test case that is not in JUnit form but still works.
As I saw when submitted patch the tests do not need granting license so you can use it. I
do not have much time now because we are before release and this was one of the bugs that
I should fix (and I did it).

I guess you are the one who discovered this Splitter. Thank you very much for this you saved
me a lot of hard work because in our previous releases we used a class that generated segments
descriptor file out of given segments and looking for content of this file was very difficult.

> The class from cotrub directory org.apache.lucene.index.IndexSplitter creates a non correct
> -------------------------------------------------------------------------------------------------
>                 Key: LUCENE-3188
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 3.0, 3.2
>         Environment: Bug is present for all environments.
> I used in this case - Windows Server 2003, Java Hot Spot Virtual Machine.
>            Reporter: Ivan Dimitrov Vasilev
>            Priority: Minor
>             Fix For: 3.0, 3.2
>         Attachments:, LUCENE-3188.patch,
> When using the method IndexSplitter.split(File destDir, String[] segs) from the Lucene
cotrib directory (contrib/misc/src/java/org/apache/lucene/index) it creates an index with
segments descriptor file with wrong data. Namely wrong is the number representing the name
of segment that would be created next in this index.
> If some of the segments of the index already has this name this results either to impossibility
to create new segment or in crating of an corrupted segment.

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message