code: def test_very_long_words():
      import sys
  
      length = int(sys.getrecursionlimit() * 1.5)
  
      strings1 = [u(chr(i) * length) for i in range(65, 70)]
      strings2 = [u(chr(i) * length) for i in range(71, 75)]
  
      ana = analysis.StemmingAnalyzer()
      schema = fields.Schema(
          text=fields.TEXT(
              analyzer=ana,
          )
      )
      with TempIndex(schema) as ix:
          with ix.writer() as w:
              for string in strings1:
                  w.add_document(text=string)
  
          with ix.writer() as w:
              for string in strings2:
                  w.add_document(text=string)
              w.optimize = True
  
imports: from __future__ import with_statement
  import gzip
  from whoosh import analysis, fields, highlight, query, spelling
  from whoosh.compat import u
  from whoosh.qparser import QueryParser
  from whoosh.support.levenshtein import levenshtein
  from whoosh.util.testing import TempIndex
label_desc: Use image node_id 14 for calling a global function with example usage: test_very_long_words() without return types