mirror of https://github.com/apache/lucene.git
LUCENE-1324: add TokenFilter.reset()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
22f76f1ebf
commit
dc65b35533
|
@ -86,6 +86,9 @@ API Changes
|
|||
12. LUCENE-1325: Added IndexCommit.isOptimized(). (Shalin Shekhar
|
||||
Mangar via Mike McCandless)
|
||||
|
||||
13. LUCENE-1324: Added TokenFilter.reset(). (Shai Erera via Mike
|
||||
McCandless)
|
||||
|
||||
Bug fixes
|
||||
|
||||
1. LUCENE-1134: Fixed BooleanQuery.rewrite to only optimize a single
|
||||
|
|
|
@ -39,4 +39,9 @@ public abstract class TokenFilter extends TokenStream {
|
|||
input.close();
|
||||
}
|
||||
|
||||
/** Reset the filter as well as the input TokenStream. */
|
||||
public void reset() throws IOException {
|
||||
super.reset();
|
||||
input.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue