public class: ValueSourceQuery
All Implemented Interfaces:
Direct Known Subclasses:
Expert: A Query that sets the scores of document to the
values obtained from a ValueSource
This query provides a score for each and every undeleted document in the index.
The value source can be based on a (cached) value of an indexed field, but it
can also be based on an external source, e.g. values read from an external database.
Score is set as: Score(doc,query) = query.getBoost()2 * valueSource(doc).
WARNING: The status of the search.function package is experimental.
The APIs introduced here might change in the future and will not be
supported anymore in such a case.
| ValueSource ||valSrc || |
|Methods from org.apache.lucene.search.Query:|
clone, combine, createWeight, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, rewrite, setBoost, toString, toString, weight|
|Methods from java.lang.Object:|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|