You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2013/08/13 15:45:58 UTC

[jira] [Updated] (LUCENE-5173) Add checkindex piece of LUCENE-5116

     [ https://issues.apache.org/jira/browse/LUCENE-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-5173:
--------------------------------

    Attachment: LUCENE-5116.patch

Simple patch: also adds an assert to SegmentMerger.

we can only check this if the index is 4.5+, because thats when LUCENE-5116 was fixed.

                
> Add checkindex piece of LUCENE-5116
> -----------------------------------
>
>                 Key: LUCENE-5173
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5173
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-5116.patch
>
>
> LUCENE-5116 fixes addIndexes(Reader) to never write a 0-document segment (in the case you merge in empty or all-deleted stuff).
> I considered it just an inconsistency, but it could cause confusing exceptions to real users too if there was a "regression" here. (see solr users list:Split Shard Error - maxValue must be non-negative). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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