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

NPE in AnalyzingSuggester

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.4, 6.0
    • None
    • None
    • Windows 7

    • New

    Description

      Setting maxGraphExpansions > 0 with a lot of expansions (e.g. due to synonyms).
      Set<IntsRef> paths = toFiniteStrings(surfaceForm, ts2a);
      paths may be null, so maxAnalyzedPathsForOneInput = Math.max(maxAnalyzedPathsForOneInput, paths.size()) may end with NPE

      Attachments

        1. LUCENE-4971.patch
          3 kB
          Michael McCandless
        2. LUCENE-4971.patch
          2 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            alexeyk Alexey Kudinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: