You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/29 14:07:39 UTC

[jira] [Commented] (LUCENE-5788) UninvertingReader should return null when a field has no terms

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

ASF subversion and git services commented on LUCENE-5788:
---------------------------------------------------------

Commit 1614316 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1614316 ]

LUCENE-5811, LUCENE-5788: Fix uninvertingreader to strictly follow dv api contract

> UninvertingReader should return null when a field has no terms
> --------------------------------------------------------------
>
>                 Key: LUCENE-5788
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5788
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: 5.0
>
>         Attachments: LUCENE-5788.patch
>
>
> See https://www.mail-archive.com/dev@lucene.apache.org/msg115216.html for the build failure and the explanation why it fails.
> The root reason is that FieldCache returns an empty instance instead of null when a field has no terms. This makes AssertingReader complain because doc values disagree with field infos.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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