I see no mention of how to limit the number of results the server will return in esri/tasks/Query. Is it not possible?
This query services seems to indicate it is not possible.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Believe this is set server-side via the
Maximum number of records returned by the server setting, which is defined:
This property specifies how many records can be returned by the server to a client for any given query operation.
No. Is the serverthat determine the MaxRecordCount.
The default is 1000, but you can change this value for each service in the Service Properties.