Class PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Inheritance
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Assembly: Lucene.Net.dll
Syntax
protected class PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer : SpanScorer
Constructors
PayloadTermSpanScorer(PayloadTermWeight, TermSpans, Weight, SimScorer)
Declaration
public PayloadTermSpanScorer(PayloadTermQuery.PayloadTermWeight outerInstance, TermSpans spans, Weight weight, Similarity.SimScorer docScorer)
Parameters
Fields
m_payload
Declaration
protected BytesRef m_payload
Field Value
m_payloadScore
Declaration
protected float m_payloadScore
Field Value
m_payloadsSeen
Declaration
protected int m_payloadsSeen
Field Value
Methods
GetPayloadScore()
The score for the payload
Declaration
protected virtual float GetPayloadScore()
Returns
GetScore()
Declaration
public override float GetScore()
Returns
Overrides
Exceptions
Type |
Condition |
IOException |
if there is a low-level I/O error
|
GetSpanScore()
Returns the SpanScorer score only.
Should not be overridden without good cause!
Declaration
protected virtual float GetSpanScore()
Returns
Type |
Description |
float |
the score for just the Span part w/o the payload
|
Exceptions
Type |
Condition |
IOException |
if there is a low-level I/O error
|
See Also
ProcessPayload(Similarity)
Declaration
protected virtual void ProcessPayload(Similarity similarity)
Parameters
SetFreqCurrentDoc()
Declaration
protected override bool SetFreqCurrentDoc()
Returns
Overrides