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

Robert Muir updated LUCENE-5788:
--------------------------------

    Attachment: LUCENE-5788.patch

simple patch. probably would be good to add an explicit test for this thing 
though...

> 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
>         Attachments: LUCENE-5788.patch
>
>
> See https://www.mail-archive.com/[email protected]/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to