code: def test_unstored():
      schema = fields.Schema(text=fields.TEXT, tags=fields.KEYWORD)
      ix = RamStorage().create_index(schema)
      w = ix.writer()
      w.add_document(text=u("alfa bravo charlie"), tags=u("delta echo"))
      w.commit()
  
      hit = ix.searcher().search(query.Term("text", "bravo"))[0]
      with pytest.raises(KeyError):
          hit.highlights("tags")
  
imports: from __future__ import with_statement
  import pytest
  from whoosh import analysis, highlight, fields, qparser, query
  from whoosh.compat import u
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex
label_desc: Use image node_id 11 for calling a global function with example usage: test_unstored() without return types