[
https://issues.apache.org/jira/browse/LUCENE-7562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668325#comment-15668325
]
Michael McCandless commented on LUCENE-7562:
--------------------------------------------
Alas, that won't work (well) because `CompletionPostingsFormat` is not general
purpose, e.g. it requires fields are indexed with positions/payloads, as
{{SuggestField}} does ...
> CompletionFieldsConsumer throws NPE on ghost fields
> ---------------------------------------------------
>
> Key: LUCENE-7562
> URL: https://issues.apache.org/jira/browse/LUCENE-7562
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.4
>
> Attachments: LUCENE-7562.patch
>
>
> If you index {{SuggestField}} for some field X, but later delete all
> documents with that field, it can cause a ghost situation where the field
> infos believes field X exists yet the postings do not.
> I believe this bug is the root cause of this ES issue:
> https://github.com/elastic/elasticsearch/issues/21500
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]