You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by dn...@apache.org on 2004/08/05 20:00:14 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/index IndexWriter.java
dnaber 2004/08/05 11:00:14
Modified: src/java/org/apache/lucene/index IndexWriter.java
Log:
make the links in the API documentation work
Revision Changes Path
1.33 +5 -4 jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java
Index: IndexWriter.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- IndexWriter.java 24 Jun 2004 08:05:55 -0000 1.32
+++ IndexWriter.java 5 Aug 2004 18:00:13 -0000 1.33
@@ -35,16 +35,17 @@
/**
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 is
opened 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.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org