Create a CustomScoreQuery over input subQuery and a {@link ValueSourceQuery}.
Namespace: Lucene.Net.Search.FunctionAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Parameters
- subQuery
- Type: Lucene.Net.Search..::..Query
the sub query whose score is being customized. Must not be null.
- valSrcQueries
- Type: array<Lucene.Net.Search.Function..::..ValueSourceQuery>[]()[][]
value source queries whose scores are used in the custom score
computation. For most simple/convenient 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