Query task faster than Find task

517
0
12-01-2011 09:13 AM
TonyMonsour
New Contributor
I am curious as to why a Query Task is faster than a Find task on large returns.  I have a large feature class hosted on ArcGIS Server and I pull segments of data out using queries.  On a large request, i.e. 40,000 features being returned, the Find Task commonly times out or takes many minutes while a Query task returns the values in less then a minute.  In the Find task I have the parameters set to a specific layer, a layer definition and a search term.

The issue is that a Query task returns the field codes not the values (domains) and in my application I obviously want to display the descriptions.

What accounts for the difference in the performance between the two tasks?
Also, why does one return the code and the other return the value?

Thanks,
Tony
0 Kudos
0 Replies