Create a new IWriter instance with given index path and schema.
Create a new IWriter instance with given index path and schema.
the index path string
the schema
Close the index.
Delete all documents in the index.
Force merge the index.
Add a document to the index.
Add a document to the index.
the document to add
Class representing schema aware index writer. This holds a Lucene IndexWriter internally.