mirror of https://github.com/apache/lucene.git
javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8ccee0c870
commit
b8387ec241
|
@ -207,7 +207,9 @@ public class AnalyzerUtil {
|
|||
* 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.
|
||||
|
|
Loading…
Reference in New Issue