Lines Matching defs:writer
95 private IndexWriter writer;
346 writer = new IndexWriter(indexDirectory, iwc);
347 writer.commit(); // to make sure index exists on the disk
413 if (writer != null) {
415 writer.prepareCommit();
416 writer.commit();
417 writer.close();
419 LOGGER.log(Level.WARNING, "An error occured while closing writer", e);
529 "An error occured while closing writer", e);
573 writer.deleteDocuments(new Term(QueryBuilder.U, uidIter.term()));
574 writer.prepareCommit();
575 writer.commit();
635 writer.addDocument(doc);
650 * closed automatically by the index writer once it's done with them, but
1182 * Get a writer to which the xref can be written, or null if no xref