You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2011/06/10 14:55:58 UTC

[jira] [Commented] (LUCENE-3188) The class from cotrub directory org.apache.lucene.index.IndexSplitter creates a non correct index

    [ https://issues.apache.org/jira/browse/LUCENE-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047164#comment-13047164 ] 

Steven Rowe commented on LUCENE-3188:
-------------------------------------

Hi Ivan,

Your submissions should be in the form of a patch (for an explanation see e.g. http://en.wikipedia.org/wiki/Patch_%28computing%29).  To generate a patch, after you make modifications in a locally checked-out Subversion working copy, use the shell command "svn diff" at the top level, and redirect its output to a file named for the issue you want to attach to, with extension ".patch", e.g.: {{svn diff > ../LUCENE-3188.patch}}.

Also, when you attached the two files to this issue, you did not click on the radio button next to the text "Grant license to ASF for inclusion in ASF works (as per the Apache License ยง5)".  You must do this for the Lucene project to be able to use code you contribute.  When you attach your patch, please click on the radio button indicating you grant license to the ASF.  (I haven't looked at your code yet for this reason.)

Steve

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org