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

SpecialOperations.getFiniteStrings should not recurse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.8.1, 4.9, 6.0
    • None
    • None
    • New

    Description

      Today it consumes one Java stack frame per transition, which when used by AnalyzingSuggester is per character in each token. This can lead to stack overflows if you have a long suggestion.

      Attachments

        1. LUCENE-5628.patch
          13 kB
          Michael McCandless
        2. LUCENE-5628.patch
          17 kB
          Michael McCandless
        3. LUCENE-5628.patch
          17 kB
          Michael McCandless
        4. LUCENE-5628.patch
          17 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: