How To: Return more than 1000 query results for ArcGIS Server clients from a Query Task


ArcGIS Server clients, such as ArcGIS Web APIs, can perform query operations to return specific information or records from a map service. The property specifies the number of records returned by the server to a client program through a specific query operation.

By default, the query result limitation from a Query Task in ArcGIS Server is set to 1000 results. The same limitation is also applicable for the service REST endpoint query operation. However, users can modify and increase the value of the parameter to return the number of desired query results.  



The instructions provided describes how to return more than 1000 query results for ArcGIS Server clients.

  1. Log in to ArcGIS Server Manager.
  2. Click the edit (pencil) icon next to the desired service.

    The picture of the edit button (pencil)
  3. Click the Parameters tab.

    Picture of the Parameter tab
  4. Under Properties, modify the Maximum number of records returned by server value. For example, change the value to 2000 to return (at most) 2000 query results.

    Picture of the Maximum number of records section
  5. Click Save and Restart.

    The picture of the Save & Restart button

Related Information