You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 01:08:52 UTC

[jira] [Created] (LUCENE-3575) Field names can be wrong for stored fields / term vectors after merging

Field names can be wrong for stored fields / term vectors after merging
-----------------------------------------------------------------------

                 Key: LUCENE-3575
                 URL: https://issues.apache.org/jira/browse/LUCENE-3575
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: 4.0


The good news is this bug only exists in trunk... the bad news is it's
been here for some time (created by accident in LUCENE-2881).  But the
good news is it should strike fairly rarely.

SegmentMerger sometimes incorrectly thinks it can bulk-copy TVs/stored
fields when it cannot (because field numbers don't map to the same
names across segments).

I think it happens only with addIndexes, or indexes that have
pre-trunk segments, and then SM falsely thinks it can bulk-merge only
when the last field number has the same field name across segments.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (LUCENE-3575) Field names can be wrong for stored fields / term vectors after merging

Posted by "Michael McCandless (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-3575:
---------------------------------------

    Attachment: LUCENE-3575.patch

Patch w/ test & fix... I'll commit shortly.
                
> Field names can be wrong for stored fields / term vectors after merging
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-3575
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3575
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3575.patch
>
>
> The good news is this bug only exists in trunk... the bad news is it's
> been here for some time (created by accident in LUCENE-2881).  But the
> good news is it should strike fairly rarely.
> SegmentMerger sometimes incorrectly thinks it can bulk-copy TVs/stored
> fields when it cannot (because field numbers don't map to the same
> names across segments).
> I think it happens only with addIndexes, or indexes that have
> pre-trunk segments, and then SM falsely thinks it can bulk-merge only
> when the last field number has the same field name across segments.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Resolved] (LUCENE-3575) Field names can be wrong for stored fields / term vectors after merging

Posted by "Michael McCandless (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-3575.
----------------------------------------

    Resolution: Fixed

I also ported the test case back to 3.x.
                
> Field names can be wrong for stored fields / term vectors after merging
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-3575
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3575
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3575.patch
>
>
> The good news is this bug only exists in trunk... the bad news is it's
> been here for some time (created by accident in LUCENE-2881).  But the
> good news is it should strike fairly rarely.
> SegmentMerger sometimes incorrectly thinks it can bulk-copy TVs/stored
> fields when it cannot (because field numbers don't map to the same
> names across segments).
> I think it happens only with addIndexes, or indexes that have
> pre-trunk segments, and then SM falsely thinks it can bulk-merge only
> when the last field number has the same field name across segments.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (LUCENE-3575) Field names can be wrong for stored fields / term vectors after merging

Posted by "Simon Willnauer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150315#comment-13150315 ] 

Simon Willnauer commented on LUCENE-3575:
-----------------------------------------

bq. Patch w/ test & fix... I'll commit shortly.
ugh! nice catch mike!!
                
> Field names can be wrong for stored fields / term vectors after merging
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-3575
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3575
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-3575.patch
>
>
> The good news is this bug only exists in trunk... the bad news is it's
> been here for some time (created by accident in LUCENE-2881).  But the
> good news is it should strike fairly rarely.
> SegmentMerger sometimes incorrectly thinks it can bulk-copy TVs/stored
> fields when it cannot (because field numbers don't map to the same
> names across segments).
> I think it happens only with addIndexes, or indexes that have
> pre-trunk segments, and then SM falsely thinks it can bulk-merge only
> when the last field number has the same field name across segments.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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