Apache Lucene open-source search software
make the links in the API documentation work
Daniel Naber4b8434c0e841
diff --git a/src/java/org/apache/lucene/index/IndexWriter.java b/src/java/org/apache/lucene/index/IndexWriter.javaindex e23b289b72d..e28c67ff6fa 100644--- a/src/java/org/apache/lucene/index/IndexWriter.java+++ b/src/java/org/apache/lucene/index/IndexWriter.java@@ -35,16 +35,17 @@ import org.apache.lucene.analysis.Analyzer;/**An IndexWriter creates and maintains an index.- The third argument to the <a href="#IndexWriter"><b>constructor</b></a>+ The third argument to the+ <a href="#IndexWriter(org.apache.lucene.store.Directory, org.apache.lucene.analysis.Analyzer, boolean)"><b>constructor</b></a>determines whether a new index is created, or whether an existing index isopened for the addition of new documents.In either case, documents are added with the <a- href="#addDocument"><b>addDocument</b></a> method. When finished adding- documents, <a href="#close"><b>close</b></a> should be called.+ href="#addDocument(org.apache.lucene.document.Document)"><b>addDocument</b></a> method.+ When finished adding documents, <a href="#close()"><b>close</b></a> should be called.If an index will not have more documents added for a while and optimal search- performance is desired, then the <a href="#optimize"><b>optimize</b></a>+ performance is desired, then the <a href="#optimize()"><b>optimize</b></a>method should be called before the index is closed.*/