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

BlendedInfixSuggester and AnalyzingInfixSuggester are never closed on core shutdown (unremovable files on Windows)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      In essense these classes are Closeable but neither SolrSuggester nor Suggester close them at the core shutdown time.

      I'm also not sure what the difference is between SolrSuggester and Suggester and whether both or them are needed. They seem awfully similar...

      I've fixed the problem with the attached patch on LUCENE-5650, but I'd appreciate if somebody with a deeper knowledge of Solr could chime in and confirm the patch is all right.

        Attachments

        1. SOLR-6100.patch
          7 kB
          Dawid Weiss

          Issue Links

            Activity

              People

              • Assignee:
                dweiss Dawid Weiss
                Reporter:
                dweiss Dawid Weiss
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: