code: def test_no_stored():
      schema = fields.Schema(id=fields.ID, text=fields.TEXT)
      with TempIndex(schema, "nostored") as ix:
          domain = (
              "alfa",
              "bravo",
              "charlie",
              "delta",
              "echo",
              "foxtrot",
              "golf",
              "hotel",
              "india",
          )
  
          w = ix.writer()
          for i in xrange(20):
              w.add_document(
                  id=text_type(i),
                  text=" ".join(random.sample(domain, 5)),
              )
          w.commit()
  
          with ix.reader() as r:
              assert sorted(
                  [int(id) for id in r.lexicon("id")]
              ) == list(range(20))
  
imports: from __future__ import with_statement
  import random, time, threading
  import pytest
  from whoosh import analysis, fields, query, writing
  from whoosh.compat import b, u, xrange, text_type
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_stored() without return types