Author: cstamas
Date: Thu Mar 31 14:34:58 2011
New Revision: 1087318

URL: http://svn.apache.org/viewvc?rev=1087318&view=rev
Log:
MINDEXER-14: returned TOO_MANY_HITS_ITERATOR_SEARCH_RESPONSE constant, even if 
indexer is not using it, but eases migration from 4.0.0 to 4.1.0.

Modified:
    
maven/indexer/trunk/indexer-core/src/main/java/org/apache/maven/index/IteratorSearchResponse.java

Modified: 
maven/indexer/trunk/indexer-core/src/main/java/org/apache/maven/index/IteratorSearchResponse.java
URL: 
http://svn.apache.org/viewvc/maven/indexer/trunk/indexer-core/src/main/java/org/apache/maven/index/IteratorSearchResponse.java?rev=1087318&r1=1087317&r2=1087318&view=diff
==============================================================================
--- 
maven/indexer/trunk/indexer-core/src/main/java/org/apache/maven/index/IteratorSearchResponse.java
 (original)
+++ 
maven/indexer/trunk/indexer-core/src/main/java/org/apache/maven/index/IteratorSearchResponse.java
 Thu Mar 31 14:34:58 2011
@@ -117,4 +117,11 @@ public class IteratorSearchResponse
      * @deprecated Use {@link #empty(Query)} instead.
      */
     public static final IteratorSearchResponse EMPTY_ITERATOR_SEARCH_RESPONSE 
= empty( null );
+
+    /**
+     * Too many search response.
+     * 
+     * @deprecated Left here for backward compatibility, but since version 
4.1.0 (see MINDEXER-14) there is NO notion of "hit limit" anymore.
+     */
+    public static final IteratorSearchResponse 
TOO_MANY_HITS_ITERATOR_SEARCH_RESPONSE = new IteratorSearchResponse( null, -1, 
EMPTY_ITERATOR_RESULT_SET );
 }


Reply via email to