You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dan Armbrust (JIRA)" <ji...@apache.org> on 2006/04/05 23:53:44 UTC

[jira] Created: (LUCENE-540) Merging multiple indexes does not maintain document order.

Merging multiple indexes does not maintain document order.
----------------------------------------------------------

         Key: LUCENE-540
         URL: http://issues.apache.org/jira/browse/LUCENE-540
     Project: Lucene - Java
        Type: Bug

    Versions: 1.9    
 Environment: Windows XP, Java 1.5.0_05
Fedora Core 3 - 64 bit - Java 1.5.0_06 (64 bit)
Lucene 1.9.1 (issue tracker doesn't have a 1.9.1 option)
    Reporter: Dan Armbrust


When I merge multiple indexes into a single, empty index, the document addition order is not being maintained.

Self contained test case coming (as soon as I figure out how to attach it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (LUCENE-540) Merging multiple indexes does not maintain document order.

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-540?page=all ]

Hoss Man updated LUCENE-540:
----------------------------

    Attachment: TestMergeIndexDocOrder.java

I refactored the previous test to demonstrate the problem both with FSDirectory and with RAMDirectory.

interestingly: they fail at differnet document numbers.

file should live in package org.apache.lucene.index

> Merging multiple indexes does not maintain document order.
> ----------------------------------------------------------
>
>          Key: LUCENE-540
>          URL: http://issues.apache.org/jira/browse/LUCENE-540
>      Project: Lucene - Java
>         Type: Bug

>     Versions: 1.9
>  Environment: Windows XP, Java 1.5.0_05
> Fedora Core 3 - 64 bit - Java 1.5.0_06 (64 bit)
> Lucene 1.9.1 (issue tracker doesn't have a 1.9.1 option)
>     Reporter: Dan Armbrust
>  Attachments: LuceneBug.java, TestMergeIndexDocOrder.java
>
> When I merge multiple indexes into a single, empty index, the document addition order is not being maintained.
> Self contained test case coming (as soon as I figure out how to attach it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (LUCENE-540) Merging multiple indexes does not maintain document order.

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-540?page=all ]
     
Yonik Seeley closed LUCENE-540:
-------------------------------

    Fix Version: 2.0
     Resolution: Fixed
      Assign To: Yonik Seeley

Fix committed to the latest dev version (soon to be Lucene 2.0)

> Merging multiple indexes does not maintain document order.
> ----------------------------------------------------------
>
>          Key: LUCENE-540
>          URL: http://issues.apache.org/jira/browse/LUCENE-540
>      Project: Lucene - Java
>         Type: Bug

>     Versions: 1.9
>  Environment: Windows XP, Java 1.5.0_05
> Fedora Core 3 - 64 bit - Java 1.5.0_06 (64 bit)
> Lucene 1.9.1 (issue tracker doesn't have a 1.9.1 option)
>     Reporter: Dan Armbrust
>     Assignee: Yonik Seeley
>      Fix For: 2.0
>  Attachments: LuceneBug.java, TestMergeIndexDocOrder.java
>
> When I merge multiple indexes into a single, empty index, the document addition order is not being maintained.
> Self contained test case coming (as soon as I figure out how to attach it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (LUCENE-540) Merging multiple indexes does not maintain document order.

Posted by "Dan Armbrust (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-540?page=all ]

Dan Armbrust updated LUCENE-540:
--------------------------------

    Attachment: LuceneBug.java

The attached JUnit test case should demonstrate the problem.  See the comments inside of the test case.



> Merging multiple indexes does not maintain document order.
> ----------------------------------------------------------
>
>          Key: LUCENE-540
>          URL: http://issues.apache.org/jira/browse/LUCENE-540
>      Project: Lucene - Java
>         Type: Bug

>     Versions: 1.9
>  Environment: Windows XP, Java 1.5.0_05
> Fedora Core 3 - 64 bit - Java 1.5.0_06 (64 bit)
> Lucene 1.9.1 (issue tracker doesn't have a 1.9.1 option)
>     Reporter: Dan Armbrust
>  Attachments: LuceneBug.java
>
> When I merge multiple indexes into a single, empty index, the document addition order is not being maintained.
> Self contained test case coming (as soon as I figure out how to attach it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (LUCENE-540) Merging multiple indexes does not maintain document order.

Posted by "Dan Armbrust (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-540?page=comments#action_12373500 ] 

Dan Armbrust commented on LUCENE-540:
-------------------------------------

Fix verified here. 

Thanks for the rapid repair.

> Merging multiple indexes does not maintain document order.
> ----------------------------------------------------------
>
>          Key: LUCENE-540
>          URL: http://issues.apache.org/jira/browse/LUCENE-540
>      Project: Lucene - Java
>         Type: Bug

>     Versions: 1.9
>  Environment: Windows XP, Java 1.5.0_05
> Fedora Core 3 - 64 bit - Java 1.5.0_06 (64 bit)
> Lucene 1.9.1 (issue tracker doesn't have a 1.9.1 option)
>     Reporter: Dan Armbrust
>     Assignee: Yonik Seeley
>      Fix For: 2.0
>  Attachments: LuceneBug.java, TestMergeIndexDocOrder.java
>
> When I merge multiple indexes into a single, empty index, the document addition order is not being maintained.
> Self contained test case coming (as soon as I figure out how to attach it)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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