You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by yo...@apache.org on 2005/11/16 20:38:34 UTC

svn commit: r345093 - /lucene/java/trunk/src/test/org/apache/lucene/search/TestCustomSearcherSort.java

Author: yonik
Date: Wed Nov 16 11:38:31 2005
New Revision: 345093

URL: http://svn.apache.org/viewcvs?rev=345093&view=rev
Log:
comment out  log messages on success path

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

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/TestCustomSearcherSort.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/search/TestCustomSearcherSort.java?rev=345093&r1=345092&r2=345093&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/TestCustomSearcherSort.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/TestCustomSearcherSort.java Wed Nov 16 11:38:31 2005
@@ -102,7 +102,7 @@
 	 * Run the test using two CustomSearcher instances. 
 	 */
 	public void testFieldSortCustomSearcher() throws Exception {
-	    log("Run testFieldSortCustomSearcher");
+	  // log("Run testFieldSortCustomSearcher");
 		// define the sort criteria
 	    Sort custSort = new Sort(new SortField[] {
 	            new SortField("publicationDate_"), 
@@ -116,7 +116,7 @@
 	 * Run the test using one CustomSearcher wrapped by a MultiSearcher. 
 	 */
 	public void testFieldSortSingleSearcher() throws Exception {
-	    log("Run testFieldSortSingleSearcher");
+	  // log("Run testFieldSortSingleSearcher");
 		// define the sort criteria
 	    Sort custSort = new Sort(new SortField[] {
 	            new SortField("publicationDate_"), 
@@ -132,7 +132,7 @@
 	 * Run the test using two CustomSearcher instances. 
 	 */
 	public void testFieldSortMultiCustomSearcher() throws Exception {
-	    log("Run testFieldSortMultiCustomSearcher");
+	  // log("Run testFieldSortMultiCustomSearcher");
 		// define the sort criteria
 	    Sort custSort = new Sort(new SortField[] {
 	            new SortField("publicationDate_"), 
@@ -178,7 +178,7 @@
             resultMap.remove(idHitDate);
         }
         if(resultMap.size()==0) {
-            log("All hits matched");
+            // log("All hits matched");
         } else {
         log("Couldn't match "+resultMap.size()+" hits.");
         }