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

CompletionFieldsConsumer throws NPE on ghost fields

    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

        1. LUCENE-7562.patch
          6 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: