lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1028789 - in /lucene/java/branches/lucene_3_0/contrib: CHANGES.txt analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java
Date Fri, 29 Oct 2010 14:59:04 GMT
Author: rmuir
Date: Fri Oct 29 14:59:04 2010
New Revision: 1028789

URL: http://svn.apache.org/viewvc?rev=1028789&view=rev
Log:
LUCENE-2653: document that ThaiWordFilter doesn't work on all JREs

Modified:
    lucene/java/branches/lucene_3_0/contrib/CHANGES.txt
    lucene/java/branches/lucene_3_0/contrib/analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java

Modified: lucene/java/branches/lucene_3_0/contrib/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/contrib/CHANGES.txt?rev=1028789&r1=1028788&r2=1028789&view=diff
==============================================================================
--- lucene/java/branches/lucene_3_0/contrib/CHANGES.txt (original)
+++ lucene/java/branches/lucene_3_0/contrib/CHANGES.txt Fri Oct 29 14:59:04 2010
@@ -17,6 +17,10 @@ Documentation
    and recommend to use the equivalents in contrib/snowball if possible. 
    (Robert Muir, Uwe Schindler, Simon Willnauer)
 
+ * LUCENE-2653: Add documentation noting that ThaiWordFilter will not work
+   as expected on all JRE's. For example, on an IBM JRE, it does nothing.
+   (Robert Muir)
+
 ======================= Release 3.0.2 2010-06-18 =======================
 
 No changes.

Modified: lucene/java/branches/lucene_3_0/contrib/analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/contrib/analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java?rev=1028789&r1=1028788&r2=1028789&view=diff
==============================================================================
--- lucene/java/branches/lucene_3_0/contrib/analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java
(original)
+++ lucene/java/branches/lucene_3_0/contrib/analyzers/common/src/java/org/apache/lucene/analysis/th/ThaiWordFilter.java
Fri Oct 29 14:59:04 2010
@@ -30,7 +30,8 @@ import java.text.BreakIterator;
 /**
  * {@link TokenFilter} that use {@link java.text.BreakIterator} to break each 
  * Token that is Thai into separate Token(s) for each Thai word.
- * @version 0.2
+ * <p>WARNING: this filter may not work correctly with all JREs.
+ * It is known to work with Sun/Oracle and Harmony JREs.
  */
 public final class ThaiWordFilter extends TokenFilter {
   



Mime
View raw message