<?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: gis.content.search doesn't find all the items? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075329#M61549</link>
    <description>&lt;P&gt;No problem, just fyi I've seen max_items=-1 used also, which I guess is unlimited results, but I've not bothered to test that myself.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 19:46:41 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-07-02T19:46:41Z</dc:date>
    <item>
      <title>gis.content.search doesn't find all the items?</title>
      <link>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075310#M61546</link>
      <description>&lt;P&gt;I have some Feature Layers on ArcGIS Online and I want to access them via Python. However, I cannot find the latest layer I created with &lt;FONT face="courier new,courier"&gt;gis.content.search&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;This is how it looks like in ArcGIS Online:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="View in ArcGIS Online" style="width: 547px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17642iC9EE9A41A07E126B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.JPG" alt="View in ArcGIS Online" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;View in ArcGIS Online&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I run &lt;FONT face="courier new,courier"&gt;gis.content.search(&lt;FONT color="#99CC00"&gt;&lt;EM&gt;"owner:{0}"&lt;/EM&gt;&lt;/FONT&gt;.format(&lt;EM&gt;&lt;FONT color="#99CC00"&gt;"manuel.popp_KIT"&lt;/FONT&gt;&lt;/EM&gt;))&lt;/FONT&gt; in Python, the output is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#00FF00"&gt;In [28]:&lt;/FONT&gt; gis.content.search("owner:{0}".format("manuel.popp_KIT"))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;Out[28]:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[&amp;lt;Item title:"B1_6_0003" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0078" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0063" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0119" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0136" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0086" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"Extents" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"B1_6_0023" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"Areas_B3_4" type:Feature Layer Collection owner:manuel.popp_KIT&amp;gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;Item title:"Areas_B3_4" type:Service Definition owner:manuel.popp_KIT&amp;gt;]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Where is "B1_6_0140"? It worked quite well until now and the missing item was created just as the other similar ones. How can it be missing?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:14:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075310#M61546</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2021-07-02T19:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search doesn't find all the items?</title>
      <link>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075311#M61547</link>
      <description>&lt;P&gt;missing the max_items argument, default is only 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;gis.content.search("owner:{0}".format("manuel.popp_KIT"), max_items=100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#contentmanager" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#contentmanager&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075311#M61547</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-07-02T19:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search doesn't find all the items?</title>
      <link>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075314#M61548</link>
      <description>&lt;P&gt;Thanks, I didn't expect there was a limit of 10 items&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075314#M61548</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2021-07-02T19:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: gis.content.search doesn't find all the items?</title>
      <link>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075329#M61549</link>
      <description>&lt;P&gt;No problem, just fyi I've seen max_items=-1 used also, which I guess is unlimited results, but I've not bothered to test that myself.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 19:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/gis-content-search-doesn-t-find-all-the-items/m-p/1075329#M61549</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-07-02T19:46:41Z</dc:date>
    </item>
  </channel>
</rss>

