Apache Lucene.Net 2.4.0 Class Library API |
|
CustomScoreQuery Constructor (Query, ValueSourceQuery[])
Create a CustomScoreQuery over input subQuery and a {@link ValueSourceQuery}.
Parameters
-
subQuery
- the sub query whose score is being customed. Must not be null.
-
valSrcQueries
- value source queries whose scores are used in the custom score computation. For most simple/convineient use case these would be {@link Lucene.Net.Search.Function.FieldScoreQuery FieldScoreQueries}. This parameter is optional - it can be null or even an empty array.
See Also
CustomScoreQuery Class | Lucene.Net.Search.Function Namespace | CustomScoreQuery Constructor Overload List