mirror of https://github.com/apache/lucene.git
cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7cde622d9
commit
ae6846798d
|
@ -210,7 +210,7 @@ public class AnalyzerUtil {
|
|||
* This can help improve performance in the presence of expensive Analyzer / TokenFilter chains.
|
||||
* <p>
|
||||
* Caveats:
|
||||
* 1) Caching only works if the methods equals() and hashCode() methods are properly
|
||||
* 1) Caching only works if the methods equals() and hashCode() are properly
|
||||
* implemented on the Reader passed to <code>tokenStream(String fieldName, Reader reader)</code>.
|
||||
* 2) Caching the tokens of large Lucene documents can lead to out of memory exceptions.
|
||||
* 3) The Token instances delivered by the underlying child analyzer must be immutable.
|
||||
|
|
Loading…
Reference in New Issue