com.esri.arcgis.geodatabase
Interface esriSearchOrder
- All Superinterfaces: 
- Serializable
- public interface esriSearchOrder 
- extends Serializable
Spatial Filter Search Order.
  
Description
 esriSearchOrder controls the order in which spatial searches are applied by the RDBMS (ArcSDE). The spatial component of the search should generally be applied before the attribute component. The more spatially restrictive of the two should be used. In the following query, "Find all wells with particulate counts between 1000 and 1200 in within 5 miles of a school", the esriSearchOrderAttribute enumerator is more effective. If the filter geometry is the outline of the city of Modesto, California and the attribute query is "street_name = 'Main St.'" then esriSearchOrderSpatial should be used, as there are a large number of "Main St." records at a national level. 
 Remarks
 esriSearchOrderSpatial is the default order.  The following esriSearchOrder enumerators are used to set the search order. 
esriSearchOrderAttribute 
Sets the search order to attribute first. 
esriSearchOrderSpatial 
Sets the search order to spatial first. 
Example: 
    pSpatialFilter.SearchOrder = esriSearchOrderAttribute 
    
 Product Availability
 Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
 Supported Platforms
 Windows, Solaris, Linux
- See Also:
- ISpatialFilter,- esriSpatialRelEnum
 
esriSearchOrderSpatial
static final int esriSearchOrderSpatial
- Spatial query is applied first.
 
- See Also:
- Constant Field Values
 
esriSearchOrderAttribute
static final int esriSearchOrderAttribute
- Attribute query is applied first.
 
- See Also:
- Constant Field Values