Class ContainsPrefixTreeFilter
Finds docs where its indexed shape Contains the query shape. For use on RecursivePrefixTreeStrategy.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
    Lucene.Net.Search.Filter
    
    ContainsPrefixTreeFilter
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Spatial.Prefix
Assembly: Lucene.Net.Spatial.dll
Syntax
public class ContainsPrefixTreeFilter : AbstractPrefixTreeFilter
  Constructors
| Improve this Doc View SourceContainsPrefixTreeFilter(IShape, String, SpatialPrefixTree, Int32, Boolean)
Declaration
public ContainsPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, bool multiOverlappingIndexedShapes)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Spatial4n.Core.Shapes.IShape | queryShape | |
| System.String | fieldName | |
| SpatialPrefixTree | grid | |
| System.Int32 | detailLevel | |
| System.Boolean | multiOverlappingIndexedShapes | 
Fields
| Improve this Doc View Sourcem_multiOverlappingIndexedShapes
If the spatial data for a document is comprised of multiple overlapping or adjacent parts, it might fail to match a query shape when doing the CONTAINS predicate when the sum of those shapes contain the query shape but none do individually. Set this to false to increase performance if you don't care about that circumstance (such as if your indexed data doesn't even have such conditions). See LUCENE-5062.
Declaration
protected readonly bool m_multiOverlappingIndexedShapes
  Field Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
| Improve this Doc View SourceEquals(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 SourceGetDocIdSet(AtomicReaderContext, IBits)
Declaration
public override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Lucene.Net.Index.AtomicReaderContext | context | |
| Lucene.Net.Util.IBits | acceptDocs | 
Returns
| Type | Description | 
|---|---|
| Lucene.Net.Search.DocIdSet | 
Overrides
Lucene.Net.Search.Filter.GetDocIdSet(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| System.Int32 |