add empty FunctionQuery.extractTerms() for MultiSearcher use

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@407910 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-05-19 20:55:15 +00:00
parent 47f1cb72ca
commit 375d553731
2 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,9 @@ New Features
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 @@ Optimizations
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

View File

@ -19,6 +19,7 @@ package org.apache.solr.search.function;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.search.*;
import java.io.IOException;
import java.util.Set;
/**
@ -43,6 +44,8 @@ public class FunctionQuery extends Query {
return this;
}
public void extractTerms(Set terms) {}
protected class FunctionWeight implements Weight {
Searcher searcher;
float queryNorm;