You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/11/15 13:55:58 UTC

[jira] [Commented] (LUCENE-7562) CompletionFieldsConsumer throws NPE on ghost fields

    [ https://issues.apache.org/jira/browse/LUCENE-7562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667197#comment-15667197 ] 

Adrien Grand commented on LUCENE-7562:
--------------------------------------

I see BasePostingsFormatTestCase has a test case for ghost fields, maybe we should have a test that extends BasePostingsFormatTestCase with CompletionPostingsFormat?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org