<?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 Re: Unexpected functionality of Search() method in ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233283#M8028</link>
    <description>&lt;P&gt;That's &lt;EM&gt;really &lt;/EM&gt;strange and something I've not seen before.&lt;/P&gt;&lt;P&gt;What happens if you use &lt;STRONG&gt;max_items=-1&lt;/STRONG&gt;?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 16:57:11 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2022-11-18T16:57:11Z</dc:date>
    <item>
      <title>Unexpected functionality of Search() method in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233276#M8027</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm encountering some odd results when using the search() method in the ArcGIS API for Python, and I don't know if this is due to user error or something else.&lt;/P&gt;&lt;P&gt;When using the search() method to isolate items of "type: Feature Service" within a group, depending on what "max_items" is set to, there is a drastically changes in what gets returned under "results" in the dictionary. The "total" seems to remain the same correct value regardless, but individual feature services are duplicated in the returned results to varying degrees .&lt;/P&gt;&lt;P&gt;For context, I am querying feature services from a group within our AGOL organization, and the expected number of returned results is 133. If max items is set to 200 or below, the returned number of results seems to remain correct. If max items is set to anything higher than that value up to 233, the result count will always match max items. Any max items amounts higher than 233 produces varying numbers of results.&lt;/P&gt;&lt;P&gt;Am I just understanding the functionality of these parameters incorrectly, or is this not intended behavior?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 16:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233276#M8027</guid>
      <dc:creator>GeorgePualwan</dc:creator>
      <dc:date>2022-11-18T16:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected functionality of Search() method in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233283#M8028</link>
      <description>&lt;P&gt;That's &lt;EM&gt;really &lt;/EM&gt;strange and something I've not seen before.&lt;/P&gt;&lt;P&gt;What happens if you use &lt;STRONG&gt;max_items=-1&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 16:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233283#M8028</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-11-18T16:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected functionality of Search() method in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233290#M8029</link>
      <description>&lt;P&gt;Interesting, so with max_items = -1, the expected count of results are returned. Does setting max_items this way act as a catch all to return all the possible returned results?&lt;/P&gt;&lt;P&gt;If so, that will work great for my needs. Still very odd functionality though when setting max item to something higher.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 17:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233290#M8029</guid>
      <dc:creator>GeorgePualwan</dc:creator>
      <dc:date>2022-11-18T17:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected functionality of Search() method in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233291#M8030</link>
      <description>&lt;P&gt;Yes, "-1" equates to "give me everything".&lt;/P&gt;&lt;P&gt;I seem to recall reading about there being a hard limit of 10,000 baked in somewhere. I could be mistaken on that.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 17:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233291#M8030</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-11-18T17:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected functionality of Search() method in ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233297#M8031</link>
      <description>&lt;P&gt;Perfect, that makes things easier. Thanks for the info!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 17:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unexpected-functionality-of-search-method-in/m-p/1233297#M8031</guid>
      <dc:creator>GeorgePualwan</dc:creator>
      <dc:date>2022-11-18T17:19:24Z</dc:date>
    </item>
  </channel>
</rss>

