Commits

Jason R. Coombs committed 2f59335

Pass a schema

  • Participants
  • Parent commits 99d10be

Comments (0)

Files changed (1)

File tests/test_simple.py

 		path=fields.ID(stored=True),
 		context=fields.TEXT,
 	)
-	ix = Index()
+	ix = Index(schema=schema)
 	writer = ix.writer()
 	writer.add_document(title="First Document", path="/a",
 		content="This is the first document we've added!",