lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r781029 - in /lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie: IntTrieTokenStream.java LongTrieTokenStream.java
Date Tue, 02 Jun 2009 13:12:22 GMT
Author: uschindler
Date: Tue Jun  2 13:12:22 2009
New Revision: 781029

URL: http://svn.apache.org/viewvc?rev=781029&view=rev
Log:
Fix incorrect example: setValue() is not a method of TokenStream, need more specific type.
Thanks Mike

Modified:
    lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/IntTrieTokenStream.java
    lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/LongTrieTokenStream.java

Modified: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/IntTrieTokenStream.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/IntTrieTokenStream.java?rev=781029&r1=781028&r2=781029&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/IntTrieTokenStream.java
(original)
+++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/IntTrieTokenStream.java
Tue Jun  2 13:12:22 2009
@@ -46,7 +46,7 @@
  * for more than one document:
  * <pre>
  *  <em>// init</em>
- *  TokenStream stream = new IntTrieTokenStream(precisionStep);
+ *  IntTrieTokenStream stream = new IntTrieTokenStream(precisionStep);
  *  Field field = new Field(name, stream);
  *  field.setOmitNorms(true);
  *  field.setOmitTermFreqAndPositions(true);

Modified: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/LongTrieTokenStream.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/LongTrieTokenStream.java?rev=781029&r1=781028&r2=781029&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/LongTrieTokenStream.java
(original)
+++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/trie/LongTrieTokenStream.java
Tue Jun  2 13:12:22 2009
@@ -46,7 +46,7 @@
  * for more than one document:
  * <pre>
  *  <em>// init</em>
- *  TokenStream stream = new LongTrieTokenStream(precisionStep);
+ *  LongTrieTokenStream stream = new LongTrieTokenStream(precisionStep);
  *  Field field = new Field(name, stream);
  *  field.setOmitNorms(true);
  *  field.setOmitTermFreqAndPositions(true);



Mime
View raw message