Class SpanScorer
Public for extension only.
Inheritance
System.Object
SpanScorer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.dll
Syntax
public class SpanScorer : Scorer
Constructors
|
Improve this Doc
View Source
SpanScorer(Spans, Weight, Similarity.SimScorer)
Declaration
protected SpanScorer(Spans spans, Weight weight, Similarity.SimScorer docScorer)
Parameters
Fields
|
Improve this Doc
View Source
m_doc
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_docScorer
Declaration
protected readonly Similarity.SimScorer m_docScorer
Field Value
|
Improve this Doc
View Source
m_freq
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
m_more
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
m_numMatches
Declaration
protected int m_numMatches
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_spans
Declaration
Field Value
Properties
|
Improve this Doc
View Source
DocID
Declaration
public override int DocID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Freq
Declaration
public override int Freq { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
SloppyFreq
Returns the intermediate "sloppy freq" adjusted for edit distance
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Declaration
public virtual float SloppyFreq { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
Advance(Int32)
Declaration
public override int Advance(int target)
Parameters
Type |
Name |
Description |
System.Int32 |
target |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetCost()
Declaration
public override long GetCost()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
GetScore()
Declaration
public override float GetScore()
Returns
Type |
Description |
System.Single |
|
Overrides
|
Improve this Doc
View Source
NextDoc()
Declaration
public override int NextDoc()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
SetFreqCurrentDoc()
Declaration
protected virtual bool SetFreqCurrentDoc()
Returns
Type |
Description |
System.Boolean |
|