Class TermFreqValueSource
  
  Function that returns Freq for the
supplied term in every document.
If the term does not exist in the document, returns 0.
If frequencies are omitted, returns 1.
 
  
  
    Inheritance
    System.Object
    
    
    TermFreqValueSource
      
   
  
  
  Assembly: Lucene.Net.Queries.dll
  Syntax
  
    public class TermFreqValueSource : DocFreqValueSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  TermFreqValueSource(String, String, String, BytesRef)
  
  
  Declaration
  
    public TermFreqValueSource(string field, string val, string indexedField, BytesRef indexedBytes)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
      
        | System.String | 
        val | 
         | 
      
      
        | System.String | 
        indexedField | 
         | 
      
      
        | BytesRef | 
        indexedBytes | 
         | 
      
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Name
  
  
  Declaration
  
    public override string Name { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Overrides
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValues(IDictionary, AtomicReaderContext)
  
  
  Declaration
  
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
   
  Parameters
  
  Returns
  
  Overrides