lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (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 18:25:59 GMT


Steven Rowe commented on LUCENE-3188:

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).

Thanks for reporting and providing a patch.  I can take it from here.

bq. I guess you are the one who discovered this Splitter.

I think you have me confused with someone else :) - Jason Rutherglen wrote it: LUCENE-1959.

> 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