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 [EMAIL PROTECTED] #getAnalyzer()}.  If the
 * document contains more than [EMAIL PROTECTED] #setMaxFieldLength(int)}
 * terms for a given field, the remainder are discarded.
 */
 public void addDocument(Document doc, Analyzer analyzer) 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to