Class ValueSourceScorer
Lucene.Net.Search.Scorer which returns the result of SingleVal(Int32) as the score for a document.
Inheritance
System.Object
    Lucene.Net.Search.DocIdSetIterator
    Lucene.Net.Index.DocsEnum
    Lucene.Net.Search.Scorer
    ValueSourceScorer
  Inherited Members
      Lucene.Net.Search.Scorer.m_weight
    
    
      Lucene.Net.Search.Scorer.Weight
    
    
      Lucene.Net.Search.Scorer.GetChildren()
    
    
      Lucene.Net.Index.DocsEnum.Attributes
    
    
      Lucene.Net.Search.DocIdSetIterator.GetEmpty()
    
    
      Lucene.Net.Search.DocIdSetIterator.NO_MORE_DOCS
    
    
    
      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()
    
  Namespace: Lucene.Net.Queries.Function
Assembly: Lucene.Net.Queries.dll
Syntax
public class ValueSourceScorer : Scorer
  Constructors
| Improve this Doc View SourceValueSourceScorer(IndexReader, FunctionValues)
Declaration
protected ValueSourceScorer(IndexReader reader, FunctionValues values)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Lucene.Net.Index.IndexReader | reader | |
| FunctionValues | values | 
Fields
| Improve this Doc View Sourcem_checkDeletes
Declaration
protected bool m_checkDeletes
  Field Value
| Type | Description | 
|---|---|
| System.Boolean | 
m_maxDoc
Declaration
protected readonly int m_maxDoc
  Field Value
| Type | Description | 
|---|---|
| System.Int32 | 
m_reader
Declaration
protected readonly IndexReader m_reader
  Field Value
| Type | Description | 
|---|---|
| Lucene.Net.Index.IndexReader | 
m_values
Declaration
protected readonly FunctionValues m_values
  Field Value
| Type | Description | 
|---|---|
| FunctionValues | 
Properties
| Improve this Doc View SourceDocID
Declaration
public override int DocID { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Lucene.Net.Search.DocIdSetIterator.DocID
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Freq
Declaration
public override int Freq { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Lucene.Net.Index.DocsEnum.Freq
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Reader
Declaration
public virtual IndexReader Reader { get; }
  Property Value
| Type | Description | 
|---|---|
| Lucene.Net.Index.IndexReader | 
Methods
| Improve this Doc View SourceAdvance(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 SourceGetCost()
Declaration
public override long GetCost()
  Returns
| Type | Description | 
|---|---|
| System.Int64 | 
Overrides
Lucene.Net.Search.DocIdSetIterator.GetCost()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetScore()
Declaration
public override float GetScore()
  Returns
| Type | Description | 
|---|---|
| System.Single | 
Overrides
Lucene.Net.Search.Scorer.GetScore()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Matches(Int32)
Declaration
public virtual bool Matches(int doc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | doc | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
MatchesValue(Int32)
Declaration
public virtual bool MatchesValue(int doc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | doc | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
NextDoc()
Declaration
public override int NextDoc()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Lucene.Net.Search.DocIdSetIterator.NextDoc()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetCheckDeletes(Boolean)
Declaration
public virtual void SetCheckDeletes(bool checkDeletes)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | checkDeletes |