[
https://issues.apache.org/jira/browse/LUCENE-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047245#comment-13047245
]
Steven Rowe commented on LUCENE-3188:
-------------------------------------
This is a better Wikipedia article on (source code) patching than the one I
gave above: http://en.wikipedia.org/wiki/Patch_%28Unix%29
> 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.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: IndexSplitter.java, TestIndexSplitter.java
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]