lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r202414 - /lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java
Date Wed, 29 Jun 2005 19:12:57 GMT
Author: dnaber
Date: Wed Jun 29 12:12:55 2005
New Revision: 202414

URL: http://svn.apache.org/viewcvs?rev=202414&view=rev
Log:
don't print to stdout in test cases

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java?rev=202414&r1=202413&r2=202414&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java Wed Jun
29 12:12:55 2005
@@ -143,10 +143,10 @@
             final float[] expectedScores) throws IOException {
 
         // display the hits
-        System.out.println(hits.length() + " hits for search: \"" + description + '\"');
+        /*System.out.println(hits.length() + " hits for search: \"" + description + '\"');
         for (int i = 0; i < hits.length(); i++) {
             System.out.println("  " + FIELD_ID + ':' + hits.doc(i).get(FIELD_ID) + " (score:"
+ hits.score(i) + ')');
-        }
+        }*/
 
         // did we get the hits we expected
         assertEquals(expectedIds.length, hits.length());



Mime
View raw message