lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r507374 - /lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java
Date Wed, 14 Feb 2007 03:12:51 GMT
Author: yonik
Date: Tue Feb 13 19:12:50 2007
New Revision: 507374

URL: http://svn.apache.org/viewvc?view=rev&rev=507374
Log:
add getFilter to ConstantScoreQuery

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java?view=diff&rev=507374&r1=507373&r2=507374
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/ConstantScoreQuery.java Tue Feb 13
19:12:50 2007
@@ -37,6 +37,11 @@
     this.filter=filter;
   }
 
+  /** Returns the encapsulated filter */
+  public Filter getFilter() {
+    return filter;
+  }
+
   public Query rewrite(IndexReader reader) throws IOException {
     return this;
   }



Mime
View raw message