Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7562

CompletionFieldsConsumer throws NPE on ghost fields

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.5.4, 6.4, 7.0
    • None
    • None
    • New

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment