Class PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Inheritance
System.Object
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Assembly: Lucene.Net.dll
Syntax
protected class PayloadTermSpanScorer : SpanScorer
Constructors
|
Improve this Doc
View Source
PayloadTermSpanScorer(PayloadTermQuery.PayloadTermWeight, TermSpans, Weight, Similarity.SimScorer)
Declaration
public PayloadTermSpanScorer(PayloadTermQuery.PayloadTermWeight outerInstance, TermSpans spans, Weight weight, Similarity.SimScorer docScorer)
Parameters
Fields
|
Improve this Doc
View Source
m_payload
Declaration
protected BytesRef m_payload
Field Value
|
Improve this Doc
View Source
m_payloadScore
Declaration
protected float m_payloadScore
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
m_payloadsSeen
Declaration
protected int m_payloadsSeen
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
GetPayloadScore()
The score for the payload
Declaration
protected virtual float GetPayloadScore()
Returns
|
Improve this Doc
View Source
GetScore()
Declaration
public override float GetScore()
Returns
Overrides
|
Improve this Doc
View Source
GetSpanScore()
Returns the SpanScorer score only.
Should not be overridden without good cause!
Declaration
protected virtual float GetSpanScore()
Returns
Type |
Description |
System.Single |
the score for just the Span part w/o the payload
|
See Also
|
Improve this Doc
View Source
ProcessPayload(Similarity)
Declaration
protected virtual void ProcessPayload(Similarity similarity)
Parameters
|
Improve this Doc
View Source
SetFreqCurrentDoc()
Declaration
protected override bool SetFreqCurrentDoc()
Returns
Type |
Description |
System.Boolean |
|
Overrides