[ https://issues.apache.org/jira/browse/LUCENE-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Rowe updated LUCENE-3188: -------------------------------- Attachment: LUCENE-3188.patch Attachment with above-described changes. I plan on committing shortly, then porting to trunk. > 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 > Assignee: Steven Rowe > Priority: Minor > Fix For: 3.3, 4.0 > > Attachments: IndexSplitter.java, LUCENE-3188.patch, > LUCENE-3188.patch, LUCENE-3188.patch, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org