mirror of https://github.com/apache/lucene.git
update to search/function javadocs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@767283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a828c2f9d
commit
6a57acf9d4
|
@ -74,9 +74,9 @@ public class CustomScoreQuery extends Query {
|
|||
|
||||
/**
|
||||
* Create a CustomScoreQuery over input subQuery and a {@link ValueSourceQuery}.
|
||||
* @param subQuery the sub query whose score is being customed. Must not be null.
|
||||
* @param subQuery the sub query whose score is being customized. Must not be null.
|
||||
* @param valSrcQueries value source queries whose scores are used in the custom score
|
||||
* computation. For most simple/convineient use case these would be
|
||||
* computation. For most simple/convenient use case these would be
|
||||
* {@link org.apache.lucene.search.function.FieldScoreQuery FieldScoreQueries}.
|
||||
* This parameter is optional - it can be null or even an empty array.
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,9 @@ import java.util.Set;
|
|||
/**
|
||||
* Expert: A Query that sets the scores of document to the
|
||||
* values obtained from a {@link org.apache.lucene.search.function.ValueSource ValueSource}.
|
||||
* <p>
|
||||
* <p>
|
||||
* This query provides a score for <em>each and every</em> undeleted document in the index.
|
||||
* <p>
|
||||
* 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.
|
||||
* <p>
|
||||
|
|
Loading…
Reference in New Issue