Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

don't print to stdout in test cases

Daniel Naber7d60bb82142f
diff --git a/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java b/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java
index e48d57f2252..4b40e48cd88 100644
--- a/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java
+++ b/src/test/org/apache/lucene/search/spans/TestSpansAdvanced.java
@@ -143,10 +143,10 @@ public class TestSpansAdvanced extends TestCase {
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());