Method MakeQuery
MakeQuery(SpatialArgs)
Make a Query based principally on SpatialOperation
and IShape from the supplied args
.
The default implementation is
return new ConstantScoreQuery(MakeFilter(args));
Declaration
public virtual ConstantScoreQuery MakeQuery(SpatialArgs args)
Parameters
Type | Name | Description |
---|---|---|
SpatialArgs | args |
Returns
Type | Description |
---|---|
ConstantScoreQuery |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | If the strategy does not support the shape in |
UnsupportedSpatialOperation | If the strategy does not support the SpatialOperation in |