<?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: Java API Geocoder Autocomplete max results limit in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339195#M31426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also interested in finding a way to get auto-complete to provide more results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, would anyone know how the widget decides to return the results from the datasource?&amp;nbsp; I had a locator where I knew the auto-complete should return 25 results but it only returned 5 which did not appear to be the first 5 matches or the last 5 matches from the datasource.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2014 17:39:16 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2014-06-04T17:39:16Z</dc:date>
    <item>
      <title>Java API Geocoder Autocomplete max results limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339194#M31425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to make a simple geocoder widget with autocomplete on but I always get up to 5 suggested results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to tweak that and get more?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a code similar to this example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/javascript/samples/locator_widget/"&gt;http://developers.arcgis.com/javascript/samples/locator_widget/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Periklis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 16:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339194#M31425</guid>
      <dc:creator>PeriklisPanagiotidis</dc:creator>
      <dc:date>2014-06-04T16:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java API Geocoder Autocomplete max results limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339195#M31426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also interested in finding a way to get auto-complete to provide more results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, would anyone know how the widget decides to return the results from the datasource?&amp;nbsp; I had a locator where I knew the auto-complete should return 25 results but it only returned 5 which did not appear to be the first 5 matches or the last 5 matches from the datasource.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339195#M31426</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-06-04T17:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Java API Geocoder Autocomplete max results limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339196#M31427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When the geocoder dijit has the auto-complete property set to true the geocoder calls the suggest operation in REST. This operation does not support the maxLocations parameter. If you examine the JSON request you will see the maxLocations parameter is passed to the service. Examining the JSON response will show that 5 locations are always returned. The maxLocations parameter is ignored by the suggest function. The maxLocations parameter controls the results of the find operation in REST. Run your application with auto-complete disabled and maxLocations set to 25 then search for a city. Examine the JSON response and you should see more than 5 address candidates displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can view the documentation for the suggest operation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm" title="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm"&gt;suggest—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can compare it to the documentation for find here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find.htm" title="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find.htm"&gt;find—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 12:58:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/java-api-geocoder-autocomplete-max-results-limit/m-p/339196#M31427</guid>
      <dc:creator>NicholasHaney</dc:creator>
      <dc:date>2014-07-18T12:58:52Z</dc:date>
    </item>
  </channel>
</rss>

