lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-5788) UninvertingReader should return null when a field has no terms
Date Tue, 29 Jul 2014 12:07:39 GMT

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

Robert Muir resolved LUCENE-5788.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0

> 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


Mime
View raw message