lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r673990 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/analysis/TokenFilter.java
Date Fri, 04 Jul 2008 10:06:18 GMT
Author: mikemccand
Date: Fri Jul  4 03:06:17 2008
New Revision: 673990

URL: http://svn.apache.org/viewvc?rev=673990&view=rev
Log:
LUCENE-1324: add TokenFilter.reset()

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=673990&r1=673989&r2=673990&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Jul  4 03:06:17 2008
@@ -86,6 +86,9 @@
 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 

Modified: lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java?rev=673990&r1=673989&r2=673990&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/analysis/TokenFilter.java Fri Jul  4 03:06:17
2008
@@ -39,4 +39,9 @@
     input.close();
   }
 
+  /** Reset the filter as well as the input TokenStream. */
+  public void reset() throws IOException {
+    super.reset();
+    input.reset();
+  }
 }



Mime
View raw message