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 2014/07/29 14:07:39 UTC
[jira] [Resolved] (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: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