Class IDFValueSource
  
  Function that returns 
for every document.
Note that the configured Similarity for the field must be
a subclass of TFIDFSimilarity
@lucene.internal 
 
  
  
    Inheritance
    System.Object
    
    
    IDFValueSource
   
  
  
  Assembly: Lucene.Net.Queries.dll
  Syntax
  
    public class IDFValueSource : DocFreqValueSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  IDFValueSource(String, String, String, BytesRef)
  
  
  Declaration
  
    public IDFValueSource(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