lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whosc...@apache.org
Subject svn commit: r478406 - /lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
Date Thu, 23 Nov 2006 00:25:54 GMT
Author: whoschek
Date: Wed Nov 22 16:25:53 2006
New Revision: 478406

URL: http://svn.apache.org/viewvc?view=rev&rev=478406
Log:
javadoc

Modified:
    lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java

Modified: lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java?view=diff&rev=478406&r1=478405&r2=478406
==============================================================================
--- lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
(original)
+++ lucene/java/trunk/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java
Wed Nov 22 16:25:53 2006
@@ -207,7 +207,9 @@
    * token stream, and delivers those cached tokens on subsequent matching calls to 
    * <code>tokenStream(String fieldName, Reader reader)</code>.
    * <p>
-   * This can help improve performance in the presence of expensive Analyzer / TokenFilter
chains.
+   * If Analyzer / TokenFilter chains are expensive in terms of I/O or CPU, such caching
can 
+   * help improve performance if the same document is added to multiple Lucene indexes, 
+   * because the text analysis phase need not be performed more than once.
    * <p>
    * Caveats: 
    * 2) Caching the tokens of large Lucene documents can lead to out of memory exceptions.




Mime
View raw message