}
private void doWrite() throws CorruptIndexException, LockObtainFailedException, IOException {
IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_43, new KeywordAnalyzer());
BlurIndexWriter writer = new BlurIndexWriter(directory, conf);
writer.addDocument(getDoc());
writer.close();
}
private Document getDoc() {
return new Document();