lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r763778 - in /lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie: TestIntTrieRangeFilter.java TestLongTrieRangeFilter.java
Date Thu, 09 Apr 2009 19:31:43 GMT
Author: uschindler
Date: Thu Apr  9 19:31:42 2009
New Revision: 763778

URL: http://svn.apache.org/viewvc?rev=763778&view=rev
Log:
Add field name to term statistics

Modified:
    lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestIntTrieRangeFilter.java
    lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestLongTrieRangeFilter.java

Modified: lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestIntTrieRangeFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestIntTrieRangeFilter.java?rev=763778&r1=763777&r2=763778&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestIntTrieRangeFilter.java
(original)
+++ lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestIntTrieRangeFilter.java
Thu Apr  9 19:31:42 2009
@@ -224,7 +224,7 @@
       assertEquals("Returned count for IntTrieRangeFilter and RangeQuery must be equal",
cTopDocs.totalHits, tTopDocs.totalHits );
       termCount += tf.getLastNumberOfTerms();
     }
-    System.out.println("Average number of terms during random search: " + (((double)termCount)/(50*4)));
+    System.out.println("Average number of terms during random search on '" + field + "':
" + (((double)termCount)/(50*4)));
   }
   
   public void testRandomTrieAndClassicRangeQuery_8bit() throws Exception {

Modified: lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestLongTrieRangeFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestLongTrieRangeFilter.java?rev=763778&r1=763777&r2=763778&view=diff
==============================================================================
--- lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestLongTrieRangeFilter.java
(original)
+++ lucene/java/trunk/contrib/queries/src/test/org/apache/lucene/search/trie/TestLongTrieRangeFilter.java
Thu Apr  9 19:31:42 2009
@@ -224,7 +224,7 @@
       assertEquals("Returned count for LongTrieRangeFilter and RangeQuery must be equal",
cTopDocs.totalHits, tTopDocs.totalHits );
       termCount += tf.getLastNumberOfTerms();
     }
-    System.out.println("Average number of terms during random search: " + (((double)termCount)/(50*4)));
+    System.out.println("Average number of terms during random search on '" + field + "':
" + (((double)termCount)/(50*4)));
   }
   
   public void testRandomTrieAndClassicRangeQuery_8bit() throws Exception {



Mime
View raw message