mirror of https://github.com/apache/lucene.git
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
This commit is contained in:
parent
5ba3804057
commit
4b8434c0e8
|
@ -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 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.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue