<?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: Disable LIKE Search in Web App? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97237#M4688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To control the amount of suggestions or the ability to use suggestions, you can modify the search parameters in the search configuration.&amp;nbsp;Select the Edit button beside the search source name and either disable search or limit the returned results. Try modifying those parameters, and let me know if the performance improves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Map Tools Configuration" class="image-1 jive-image j-img-original" src="/legacyfs/online/228651_map tools.png" style="width: 620px; height: 300px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2016 22:53:23 GMT</pubDate>
    <dc:creator>KellyGerrow</dc:creator>
    <dc:date>2016-09-15T22:53:23Z</dc:date>
    <item>
      <title>Disable LIKE Search in Web App?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97236#M4687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;SPAN class=""&gt;We are using the standard &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;SPAN class=""&gt;Map Tools &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;&lt;SPAN class=""&gt;template for a web app and have enabled a search by parcel number, with 
suggestions enabled. Despite setting it to exact match, the search executes a LIKE search. 

&lt;IMG __jive_id="228517" alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/228517_pastedImage_2.png" /&gt;

Since our parcel layer contains nearly 2.4 million &lt;/SPAN&gt;&lt;SPAN class=""&gt;records&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;this returns results extremely slowly, even though the 
field is indexed. Besides, no one searches for a parcel by &lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;numbers that may occur anywhere in the string. Is 
there a way I can alter this behavior? Here &lt;/SPAN&gt;&lt;SPAN style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;is the relevant code behind the search set-up.&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt; "searchConfig": { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"sources": [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"flayerId": "Landlocked_Parcels_2772.0",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgis.gis.lacounty.gov%2Farcgis%2Frest%2Fservices%2FDRP%2FLandlocked_Parcels%2FMapServer%2F0" target="_blank"&gt;http://arcgis.gis.lacounty.gov/arcgis/rest/services/DRP/Landlocked_Parcels/MapServer/0&lt;/A&gt;&lt;SPAN&gt;", &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"name": "Parcel (AIN/APN) Search",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"id": "dojoUnique12",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "enable": true,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"enableSuggestions": true,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "searchWithinMap": true,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; "exactMatch": true,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; "placeholder": "Parcel Search",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "searchFields": [ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AIN" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "maxSuggestions": 9,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "displayField": "",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "suggestionTemplate": "" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"activeSourceIndex": 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; "enableSearchingAll": false &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97236#M4687</guid>
      <dc:creator>MarthaSelig1</dc:creator>
      <dc:date>2021-12-11T06:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disable LIKE Search in Web App?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97237#M4688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To control the amount of suggestions or the ability to use suggestions, you can modify the search parameters in the search configuration.&amp;nbsp;Select the Edit button beside the search source name and either disable search or limit the returned results. Try modifying those parameters, and let me know if the performance improves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Map Tools Configuration" class="image-1 jive-image j-img-original" src="/legacyfs/online/228651_map tools.png" style="width: 620px; height: 300px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 22:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97237#M4688</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2016-09-15T22:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disable LIKE Search in Web App?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97238#M4689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will certainly have the app's owner experiment with reducing or eliminating suggestions, but the larger problem seems to be that the application starts looking for matches as soon as the first character is entered and it looks everywhere in the string. Neither of these behaviors is desirable in this case and, with 2.4 million records, this is just plain slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you know if performance improves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 14:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/disable-like-search-in-web-app/m-p/97238#M4689</guid>
      <dc:creator>MarthaSelig1</dc:creator>
      <dc:date>2016-09-19T14:33:34Z</dc:date>
    </item>
  </channel>
</rss>

