Class SpatialFileQueryMaker
  
  Reads spatial data from the body field docs from an internally created LineDocSource.
It's parsed by Spatial4n.Core.Context.SpatialContext.ReadShapeFromWkt(System.String) and then
further manipulated via a configurable IShapeConverter. When using point
data, it's likely you'll want to configure the shape converter so that the query shapes actually
cover a region. The queries are all created & cached in advance. This query maker works in
conjunction with SpatialDocMaker.  See spatial.alg for a listing of options, in
particular the options starting with "query.".
 
  
  
    Inheritance
    System.Object
    
    SpatialFileQueryMaker
   
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: Lucene.Net.Benchmark.dll
  Syntax
  
    public class SpatialFileQueryMaker : AbstractQueryMaker, IQueryMaker
   
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_distErrPct
  
  
  Declaration
  
    protected double m_distErrPct
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_operation
  
  
  Declaration
  
    protected SpatialOperation m_operation
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_score
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_shapeConverter
  
  
  Declaration
  
    protected IShapeConverter m_shapeConverter
   
  Field Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  m_strategy
  
  
  Declaration
  
    protected SpatialStrategy m_strategy
   
  Field Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MakeQueryFromShape(IShape)
  
  
  Declaration
  
    protected virtual Query MakeQueryFromShape(IShape shape)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Spatial4n.Core.Shapes.IShape | 
        shape | 
         | 
      
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PrepareQueries()
  
  
  Declaration
  
    protected override Query[] PrepareQueries()
   
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetConfig(Config)
  
  
  Declaration
  
    public override void SetConfig(Config config)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Config | 
        config | 
         | 
      
    
  
  Overrides
  
  Implements