From 4b8434c0e8411684a41b6341ff57d4333808eee4 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Thu, 5 Aug 2004 18:00:13 +0000 Subject: [PATCH] make the links in the API documentation work git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150393 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/index/IndexWriter.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/lucene/index/IndexWriter.java b/src/java/org/apache/lucene/index/IndexWriter.java index 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 constructor + The third argument to the + constructor determines whether a new index is created, or whether an existing index is opened for the addition of new documents. In either case, documents are added with the addDocument method. When finished adding - documents, close should be called. + href="#addDocument(org.apache.lucene.document.Document)">addDocument method. + When finished adding documents, close should be called. If an index will not have more documents added for a while and optimal search - performance is desired, then the optimize + performance is desired, then the optimize method should be called before the index is closed. */