jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r527132 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java
Date Tue, 10 Apr 2007 13:18:08 GMT
Author: mreutegg
Date: Tue Apr 10 06:18:07 2007
New Revision: 527132

URL: http://svn.apache.org/viewvc?view=rev&rev=527132
Log:
JCR-837: MatchAllQuery does not implement extractTerms()

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java?view=diff&rev=527132&r1=527131&r2=527132
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MatchAllQuery.java
Tue Apr 10 06:18:07 2007
@@ -20,6 +20,8 @@
 import org.apache.lucene.search.Searcher;
 import org.apache.lucene.search.Weight;
 
+import java.util.Set;
+
 /**
  * Specialized query that returns / scores all pages in the search index.
  * <p>Use this Query to perform a match '*'.
@@ -60,5 +62,11 @@
      */
     public String toString(String field) {
         return "%";
+    }
+
+    /**
+     * Does nothing but simply returns. There are no terms to extract.
+     */
+    public void extractTerms(Set terms) {
     }
 }



Mime
View raw message