Class DefFunction
  
  ValueSource implementation which only returns the values from the provided
ValueSources which are available for a particular docId.  Consequently, when combined
with a ConstValueSource, this function serves as a way to return a default
value when the values for a field are unavailable.
 
  
  
    Inheritance
    System.Object
    
    
    DefFunction
   
  
  
  Assembly: Lucene.Net.Queries.dll
  Syntax
  
    public class DefFunction : MultiFunction
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DefFunction(IList<ValueSource>)
  
  
  Declaration
  
    public DefFunction(IList<ValueSource> sources)
   
  Parameters
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Name
  
  
  Declaration
  
    protected 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 fcontext, AtomicReaderContext readerContext)
   
  Parameters
  
  Returns
  
  Overrides