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

Marius Grama updated LUCENE-6486:
---------------------------------
    Attachment: LUCENE-6486.patch

Patch used to fix this inconsistency.

[~mikemccand] could you please have a look on this patch?
NOTE : As in the class FileDictionary, when the dictionary is configured with 
hasPayloads field set to true, there will be an empty value instead of null for 
the field payload when the payload field in the document is null.

> DocumentDictionary entry iterator skips items with optional null payload field
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-6486
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6486
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.10.3
>            Reporter: Marius Grama
>             Fix For: 5.2
>
>         Attachments: LUCENE-6486.patch
>
>
> As denoted in the ticket SOLR-7086 the DocumentDictionary entry iterator 
> shouldn't skip entries from the dictionary having null value for the payload 
> field due to the fact that this field is optional.
> This behaviour causes inconsistencies in the Solr suggester which simply 
> skips valid documents due to the fact that they don't have values for the 
> payload field.
> As agreed with [~mikemccand] I am attaching a patch to this Lucene issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to