/** * Adds a Document. * * @see IndexWriter#addDocument(org.apache.lucene.index.IndexDocument) */ public <T extends IndexableField> void addDocument(final IndexDocument doc) throws IOException { addDocument(doc, w.getAnalyzer()); }
/** * Adds a Document. * * @see IndexWriter#addDocument(org.apache.lucene.index.IndexDocument) */ public <T extends IndexableField> void addDocument(final IndexDocument doc) throws IOException { addDocument(doc, w.getAnalyzer()); }