Explain the custom score.
The doc is relative to the current reader, which is
unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9).
Please override {@link #getCustomScoreProvider} and return a subclass
of {@link CustomScoreProvider} for the given {@link IndexReader}.
Namespace: Lucene.Net.Search.FunctionAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Will be removed in Lucene 3.1.")] public virtual Explanation CustomExplain( int doc, Explanation subQueryExpl, Explanation[] valSrcExpls ) |
Visual Basic |
---|
<ObsoleteAttribute("Will be removed in Lucene 3.1.")> _ Public Overridable Function CustomExplain ( _ doc As Integer, _ subQueryExpl As Explanation, _ valSrcExpls As Explanation() _ ) As Explanation |
Visual C++ |
---|
[ObsoleteAttribute(L"Will be removed in Lucene 3.1.")] public: virtual Explanation^ CustomExplain( int doc, Explanation^ subQueryExpl, array<Explanation^>^ valSrcExpls ) |
Parameters
- doc
- Type: System..::..Int32
[Missing <param name="doc"/> documentation for "M:Lucene.Net.Search.Function.CustomScoreQuery.CustomExplain(System.Int32,Lucene.Net.Search.Explanation,Lucene.Net.Search.Explanation[])"]
- subQueryExpl
- Type: Lucene.Net.Search..::..Explanation
[Missing <param name="subQueryExpl"/> documentation for "M:Lucene.Net.Search.Function.CustomScoreQuery.CustomExplain(System.Int32,Lucene.Net.Search.Explanation,Lucene.Net.Search.Explanation[])"]
- valSrcExpls
- Type: array<Lucene.Net.Search..::..Explanation>[]()[][]
[Missing <param name="valSrcExpls"/> documentation for "M:Lucene.Net.Search.Function.CustomScoreQuery.CustomExplain(System.Int32,Lucene.Net.Search.Explanation,Lucene.Net.Search.Explanation[])"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Search.Function.CustomScoreQuery.CustomExplain(System.Int32,Lucene.Net.Search.Explanation,Lucene.Net.Search.Explanation[])"]