Expert: A Query that sets the scores of document to the
values obtained from a {@link org.apache.lucene.search.function.ValueSource ValueSource}.
The value source can be based on a (cached) value of an indexd 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. |