<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query task faster than Find task in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-task-faster-than-find-task/m-p/624096#M3045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am curious as to why a Query Task is faster than a Find task on large returns.&amp;nbsp; I have a large feature class hosted on ArcGIS Server and I pull segments of data out using queries.&amp;nbsp; 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.&amp;nbsp; In the Find task I have the parameters set to a specific layer, a layer definition and a search term.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What accounts for the difference in the performance between the two tasks?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, why does one return the code and the other return the value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 17:13:51 GMT</pubDate>
    <dc:creator>TonyMonsour</dc:creator>
    <dc:date>2011-12-01T17:13:51Z</dc:date>
    <item>
      <title>Query task faster than Find task</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-task-faster-than-find-task/m-p/624096#M3045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am curious as to why a Query Task is faster than a Find task on large returns.&amp;nbsp; I have a large feature class hosted on ArcGIS Server and I pull segments of data out using queries.&amp;nbsp; 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.&amp;nbsp; In the Find task I have the parameters set to a specific layer, a layer definition and a search term.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What accounts for the difference in the performance between the two tasks?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, why does one return the code and the other return the value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 17:13:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-task-faster-than-find-task/m-p/624096#M3045</guid>
      <dc:creator>TonyMonsour</dc:creator>
      <dc:date>2011-12-01T17:13:51Z</dc:date>
    </item>
  </channel>
</rss>

