Class ShapeFieldCacheDistanceValueSource
  
  An implementation of the Lucene ValueSource that returns the spatial distance
between an input point and a document's points in
ShapeFieldCacheProvider<T>. The shortest distance is returned if a
document has more than one point.
This is a Lucene.NET INTERNAL API, use at your own risk
 
  
  
    Inheritance
    System.Object
    
    ShapeFieldCacheDistanceValueSource
   
  
  
  Assembly: Lucene.Net.Spatial.dll
  Syntax
  
    public class ShapeFieldCacheDistanceValueSource : ValueSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ShapeFieldCacheDistanceValueSource(SpatialContext, ShapeFieldCacheProvider<IPoint>, IPoint, Double)
  
  
  Declaration
  
    public ShapeFieldCacheDistanceValueSource(SpatialContext ctx, ShapeFieldCacheProvider<IPoint> provider, IPoint from, double multiplier)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SpatialContext | 
        ctx | 
         | 
      
      
        | ShapeFieldCacheProvider<IPoint> | 
        provider | 
         | 
      
      
        | IPoint | 
        from | 
         | 
      
      
        | System.Double | 
        multiplier | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object o)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        o | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetDescription()
  
  
  Declaration
  
    public override string GetDescription()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValues(IDictionary, AtomicReaderContext)
  
  
  Declaration
  
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
   
  Parameters
  
  Returns