The class from cotrub directory org.apache.lucene.index.IndexSplitter creates a 
non correct index
-------------------------------------------------------------------------------------------------

                 Key: LUCENE-3188
                 URL: https://issues.apache.org/jira/browse/LUCENE-3188
             Project: Lucene - Java
          Issue Type: Bug
          Components: modules/other
    Affects Versions: 3.2, 3.0
         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.2, 3.0


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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to