Class SpanWeight
  
  Expert-only.  Public for use by other weight implementations
 
  
  
    Inheritance
    System.Object
    
    SpanWeight
      
      
   
  
    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 SpanWeight : Weight
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SpanWeight(SpanQuery, IndexSearcher)
  
  
  Declaration
  
    public SpanWeight(SpanQuery query, IndexSearcher searcher)
   
  Parameters
  
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_query
  
  
  Declaration
  
    protected SpanQuery m_query
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_similarity
  
  
  Declaration
  
    protected Similarity m_similarity
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_stats
  
  
  Declaration
  
    protected Similarity.SimWeight m_stats
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_termContexts
  
  
  Declaration
  
    protected IDictionary<Term, TermContext> m_termContexts
   
  Field Value
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Query
  
  
  Declaration
  
    public override Query Query { get; }
   
  Property Value
  
  Overrides
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Explain(AtomicReaderContext, Int32)
  
  
  Declaration
  
    public override Explanation Explain(AtomicReaderContext context, int doc)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetScorer(AtomicReaderContext, IBits)
  
  
  Declaration
  
    public override Scorer GetScorer(AtomicReaderContext context, IBits acceptDocs)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValueForNormalization()
  
  
  Declaration
  
    public override float GetValueForNormalization()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Single | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Normalize(Single, Single)
  
  
  Declaration
  
    public override void Normalize(float queryNorm, float topLevelBoost)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Single | 
        queryNorm | 
         | 
      
      
        | System.Single | 
        topLevelBoost | 
         | 
      
    
  
  Overrides