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

SpecialOperations.getFiniteStrings should not recurse

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1, 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          17 kB
          Michael McCandless
        2. LUCENE-5628.patch
          17 kB
          Michael McCandless
        3. LUCENE-5628.patch
          17 kB
          Michael McCandless
        4. LUCENE-5628.patch
          13 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: