Class ShapePredicateValueSource
  
  A boolean ValueSource that compares a shape from a provided ValueSource with a given Shape and sees
if it matches a given SpatialOperation (the predicate).
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
 
  
  
    Inheritance
    System.Object
    
    ShapePredicateValueSource
   
  
  
  Assembly: Lucene.Net.Spatial.dll
  Syntax
  
    public class ShapePredicateValueSource : ValueSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ShapePredicateValueSource(ValueSource, SpatialOperation, IShape)
  
  
  Declaration
  
    public ShapePredicateValueSource(ValueSource shapeValuesource, SpatialOperation op, IShape queryShape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | ValueSource | 
        shapeValuesource | 
        Must yield  instances from it's ObjectVal(doc). If null
then the result is false. This is the left-hand (indexed) side. 
 | 
      
      
        | SpatialOperation | 
        op | 
        the predicate 
 | 
      
      
        | IShape | 
        queryShape | 
        The shape on the right-hand (query) side. 
 | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CreateWeight(IDictionary, IndexSearcher)
  
  
  Declaration
  
    public override void CreateWeight(IDictionary context, IndexSearcher searcher)
   
  Parameters
  
  
    |
    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