public class DisjointSpatialFilter extends Filter
SpatialOperation.IsDisjointToin terms of a
SpatialStrategy's support for
SpatialOperation.Intersects. A document is considered disjoint if it has spatial data that does not intersect with the query shape. Another way of looking at this is that it's a way to invert a query shape.
|Constructor and Description|
public DisjointSpatialFilter(SpatialStrategy strategy, SpatialArgs args, String field)
strategy- Needed to compute intersects
args- Used in spatial intersection
field- This field is used to determine which docs have spatial data via
FieldCache.getDocsWithField(org.apache.lucene.index.AtomicReader, String). Passing null will assume all docs have spatial data.
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.