You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2006/05/19 22:55:16 UTC

svn commit: r407910 - in /incubator/solr/trunk: CHANGES.txt src/java/org/apache/solr/search/function/FunctionQuery.java

Author: yonik
Date: Fri May 19 13:55:15 2006
New Revision: 407910

URL: http://svn.apache.org/viewvc?rev=407910&view=rev
Log:
add empty FunctionQuery.extractTerms() for MultiSearcher use

Modified:
    incubator/solr/trunk/CHANGES.txt
    incubator/solr/trunk/src/java/org/apache/solr/search/function/FunctionQuery.java

Modified: incubator/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/CHANGES.txt?rev=407910&r1=407909&r2=407910&view=diff
==============================================================================
--- incubator/solr/trunk/CHANGES.txt (original)
+++ incubator/solr/trunk/CHANGES.txt Fri May 19 13:55:15 2006
@@ -9,6 +9,9 @@
  4. postOptimize hook, mirroring the functionallity of the postCommit hook,
     but only called on an index optimize.
  5. Ability to HTTP POST query requests to /select in addition to HTTP-GET
+ 6. The default search field may now be overridden by requests to the
+    standard request handler using the df query parameter. (Erik Hatcher)
+
 
 Changes in runtime behavior
  1. classes reorganized into different packages, package names changed to Apache
@@ -25,5 +28,9 @@
 Bug Fixes
  1. Fixed delete-by-id for field types who's indexed form is different
     from the printable form (mainly sortable numeric types).
+ 2. Added escaping of attribute values in the XML response (Erik Hatcher)
+ 3. Added empty extractTerms() to FunctionQuery to enable use in
+    a MultiSearcher (Yonik)
+
 
 2006/07/16 Solr open sourced, moves to Apache Incubator

Modified: incubator/solr/trunk/src/java/org/apache/solr/search/function/FunctionQuery.java
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/src/java/org/apache/solr/search/function/FunctionQuery.java?rev=407910&r1=407909&r2=407910&view=diff
==============================================================================
--- incubator/solr/trunk/src/java/org/apache/solr/search/function/FunctionQuery.java (original)
+++ incubator/solr/trunk/src/java/org/apache/solr/search/function/FunctionQuery.java Fri May 19 13:55:15 2006
@@ -19,6 +19,7 @@
 import org.apache.lucene.index.IndexReader;
 import org.apache.lucene.search.*;
 import java.io.IOException;
+import java.util.Set;
 
 
 /**
@@ -42,6 +43,8 @@
   public Query rewrite(IndexReader reader) throws IOException {
     return this;
   }
+
+  public void extractTerms(Set terms) {}
 
   protected class FunctionWeight implements Weight {
     Searcher searcher;