lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <>
Subject Re: Subject indexing and seraching documents with multiple languages
Date Mon, 08 May 2006 14:08:04 GMT
On Mon, 2006-05-08 at 08:34 -0400, Grant Ingersoll wrote:
> This seems to be necessary because the IndexWriter takes an analyzer
> as parameter. Thus we can pass the English documents to the
> IndexWriter created with the English analyzer and so on. 

 * Adds a document to this index, using the provided analyzer
 * instead of the value of {@link #getAnalyzer()}.  If the
 * document contains more than {@link #setMaxFieldLength(int)}
 * terms for a given field, the remainder are discarded.
 public void addDocument(Document doc, Analyzer analyzer) 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message