code: def test_more_like(model=classify.Bo2Model):
      schema = fields.Schema(
          id=fields.ID(stored=True), text=fields.TEXT(stored=True)
      )
      with TempIndex(schema, "morelike") as ix:
          with ix.writer() as w:
              w.add_document(id=u("1"), text=u("alfa bravo charlie"))
              w.add_document(id=u("2"), text=u("bravo charlie delta"))
              w.add_document(id=u("3"), text=u("echo"))
              w.add_document(id=u("4"), text=u("delta echo foxtrot"))
              w.add_document(id=u("5"), text=u("echo echo echo"))
              w.add_document(id=u("6"), text=u("foxtrot golf hotel"))
              w.add_document(id=u("7"), text=u("golf hotel india"))
  
          with ix.searcher() as s:
              docnum = s.document_number(id="3")
              r = s.more_like(docnum, "text", model=model)
              assert [hit["id"] for hit in r] == ["5", "4"]
  
file_path: whoosh/tests/test_classify.py
imports: from __future__ import with_statement
  from whoosh import analysis, classify, fields, formats, query, reading
  from whoosh.compat import u, text_type
  from whoosh.filedb.filestore import RamStorage
  from whoosh.util.testing import TempIndex
label_desc: Use image node_id 6 for calling a global function with example usage: test_more_like(model) without return types