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:
Michael McCandless 2008-07-04 10:06:17 +00:00
parent 22f76f1ebf
commit dc65b35533
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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();
}
}