Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2316

SynonymFilterFactory should ensure synonyms argument is provided.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • Schema and Analysis
    • None

    Description

      If for some reason the synonyms attribute is not present on the filter factory configuration, a latent NPE will eventually show up during indexing/searching. Instead a helpful error should be thrown at initialization.

      Attachments

        1. 2316.patch
          3 kB
          David Smiley

        Activity

          People

            Unassigned Unassigned
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: