<?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: Find Task &amp;quot;contains&amp;quot; parameter default value - bug? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156948#M1778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get a chance to try this with different server versions or just 10.2.2? if not try it with another version if you have the chance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to reproduce the problem using different server versions including 10.2.2&amp;nbsp; and as you said the find request doesn't have contains value if not set or set to true, because true is the default value even on 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can provide repro sample or more details that will be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2015 18:19:29 GMT</pubDate>
    <dc:creator>AsserSwelam1</dc:creator>
    <dc:date>2015-03-26T18:19:29Z</dc:date>
    <item>
      <title>Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156947#M1777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Runtime's &lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/net/desktop/api-reference//html/T_Esri_ArcGISRuntime_Tasks_Query_FindTask.htm"&gt;Find Task&lt;/A&gt;&lt;/STRONG&gt; in order to find all features in a map service layer containing a specified string.&lt;/P&gt;&lt;P&gt;According to &lt;A href="https://developers.arcgis.com/net/desktop/api-reference//html/P_Esri_ArcGISRuntime_Tasks_Query_FindParameters_Contains.htm"&gt;documentation&lt;/A&gt; the default value of &lt;STRONG&gt;FindParameters.Contains&lt;/STRONG&gt; parameter is true (i.e. search is performed for a &lt;STRONG&gt;partial&lt;/STRONG&gt; and &lt;STRONG&gt;not&lt;/STRONG&gt; &lt;STRONG&gt;exact&lt;/STRONG&gt; match).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In practice, however, the search is always performed for an &lt;STRONG&gt;exact&lt;/STRONG&gt; match - whether &lt;STRONG&gt;FindParameters.Contains&lt;/STRONG&gt; is set to either &lt;STRONG&gt;true&lt;/STRONG&gt; or &lt;STRONG&gt;false&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After "sniffing" the actual REST URL generated by the task, I think I found the problem.&lt;/P&gt;&lt;P&gt;When &lt;STRONG&gt;FindParameters.Contains&lt;/STRONG&gt; is set to true - the generated REST URL doesn't have the "contains" URL parameter at all, because it assumes the default value of &lt;STRONG&gt;true&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Unfortunately, REST API (at least in ArcGIS Server version &lt;STRONG&gt;10.2.2&lt;/STRONG&gt; that I'm currently using) for Map Service's &lt;STRONG&gt;Find&lt;/STRONG&gt; method falsely assumes the default value of &lt;STRONG&gt;false&lt;/STRONG&gt;, contrary to its own &lt;A href="http://resources.arcgis.com/en/help/rest/apiref/find.html"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug in 10.2.2?&lt;/P&gt;&lt;P&gt;Is there any workaround for this issue, except generating my own REST "find" request and parsing the results (from JSON)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Mar 2015 13:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156947#M1777</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-03-22T13:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156948#M1778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get a chance to try this with different server versions or just 10.2.2? if not try it with another version if you have the chance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't able to reproduce the problem using different server versions including 10.2.2&amp;nbsp; and as you said the find request doesn't have contains value if not set or set to true, because true is the default value even on 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can provide repro sample or more details that will be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 18:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156948#M1778</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-03-26T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156949#M1779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Asser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been able to reproduce this behavior both on ArcGIS Server 10.1 &amp;amp; 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For clarification: the underlying data source of the map service's layer is a FGDB, registered appropriately with ArcGIS Server (registeted under "Registered folders" under "Data store").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I'm searching for the partial string "hel".&lt;/P&gt;&lt;P&gt;Here's what I'm getting in response to REST request with the "contains" parameter explicitly set to "true".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Request URL:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[Map" rel="nofollow" target="_blank"&gt;http://[Map&lt;/A&gt;&lt;SPAN&gt; service REST URL]/MapServer/find?searchText=hel&lt;/SPAN&gt;&lt;STRONG&gt;&amp;amp;contains=true&lt;/STRONG&gt;&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=2&amp;amp;layerDefs=&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;geometryPrecision=&amp;amp;dynamicLayers=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;gdbVersion=&amp;amp;f=pjson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Response JSON:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "results": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "layerId": 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "layerName": "Major lakes",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "displayFieldName": "name",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "foundFieldName": "name_abb",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "value": "L. Chelan",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "attributes": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "OBJECTID": "1130",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Shape": "Polygon",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "featurecla": "Reservoir",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "scalerank": "5",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name": "Lake Chelan",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name_abb": "L. Chelan",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name_alt": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "note": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "delta": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "dam_name": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "year": "1927",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "DontShow": "0"&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; "geometryType": "esriGeometryPolygon",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "geometry": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "rings": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp; "spatialReference": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "wkid": 102139,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "latestWkid": 3067&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "layerId": 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "layerName": "Major lakes",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "displayFieldName": "name",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "foundFieldName": "name_abb",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "value": "Mitchell L.",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "attributes": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "OBJECTID": "1188",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Shape": "Polygon",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "featurecla": "Reservoir",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "scalerank": "9",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name": "Mitchell Lake",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name_abb": "Mitchell L.",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "name_alt": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "note": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "delta": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "dam_name": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "year": "-99",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin": " ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "DontShow": "0"&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp; "geometryType": "esriGeometryPolygon",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "geometry": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "rings": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp; "spatialReference": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "wkid": 102139,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "latestWkid": 3067&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the above you can see, that with an explicit &lt;STRONG&gt;contains=true&lt;/STRONG&gt; a partial "hel" string is correctly matched to full strings in underlying data: "L. C&lt;STRONG&gt;he&lt;/STRONG&gt;lan", "Mitc&lt;STRONG&gt;hel&lt;/STRONG&gt;l L."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to documentation, the &lt;STRONG&gt;same URL&lt;/STRONG&gt; with &lt;STRONG&gt;no contains parameter&lt;/STRONG&gt; specified &lt;STRONG&gt;at all&lt;/STRONG&gt; should produce the &lt;STRONG&gt;same results&lt;/STRONG&gt; (since &lt;STRONG&gt;contains=true&lt;/STRONG&gt; is assumed by &lt;STRONG&gt;default&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the following URL (same one as above, but with &lt;STRONG&gt;contains&lt;/STRONG&gt; parameter &lt;STRONG&gt;omitted&lt;/STRONG&gt;) returns &lt;STRONG&gt;no results&lt;/STRONG&gt; whatsoever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Request URL:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[Map" rel="nofollow" target="_blank"&gt;http://[Map&lt;/A&gt;&lt;SPAN&gt; service REST URL]/MapServer/find?searchText=hel&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=2&amp;amp;layerDefs=&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;geometryPrecision=&amp;amp;dynamicLayers=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;gdbVersion=&amp;amp;f=pjson&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Response JSON:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "results": [&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm really lost here. &lt;/P&gt;&lt;P&gt;It seems, that when &lt;STRONG&gt;contains&lt;/STRONG&gt; parameter is &lt;STRONG&gt;omitted&lt;/STRONG&gt; from the REST's &lt;STRONG&gt;Find&lt;/STRONG&gt; request URL =&amp;gt; the value of &lt;STRONG&gt;false&lt;/STRONG&gt; is actually assumed by default instead of &lt;STRONG&gt;true&lt;/STRONG&gt;, and, consequently, only exact matches are performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 16:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156949#M1779</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-03-29T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156950#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't seem like it is a specific version server issue. Did you have a chance to reproduce this with any of the public services? I am still not able to reproduce it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can send me a repro sample using a public service that will help a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 21:29:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156950#M1780</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-03-30T21:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156951#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Asser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reproduce this behavior using ArcGIS Online public map service "World_Topo_Map" (against the single service layer 0 - "Citations"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am searching for "Coun" string and expecting REST's Find operation to match all partial "Coun" strings like "County" etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Explicitly specifying "contains=true":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&amp;amp;contains=true&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson"&gt;http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&amp;amp;contains=true&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result:&lt;/SPAN&gt; many results, each one with the partially matched "Coun" string in one of the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Explicitly specifying "contains=false":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&amp;amp;contains=false&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson"&gt;http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&amp;amp;contains=false&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result:&lt;/SPAN&gt; no results, since no feature in the queried layer contains the exact string "Coun" in any of its fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Omitting "contains" parameter entirely:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson"&gt;http://server.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/find?searchText=Coun&amp;amp;layers=0&amp;amp;returnGeometry=false&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Result:&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; no results, same as in case &lt;STRONG&gt;2&lt;/STRONG&gt; above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Conclusion:&lt;/STRONG&gt;&lt;/SPAN&gt; omitting "&lt;STRONG&gt;contains&lt;/STRONG&gt;" parameter implicitly applies the default value of "&lt;STRONG&gt;contains=false&lt;/STRONG&gt;", &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;contrary&lt;/STRONG&gt; &lt;/SPAN&gt;to &lt;A href="http://resources.arcgis.com/en/help/rest/apiref/find.html"&gt;REST's Find operation documentation&lt;/A&gt;, which clearly states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="detailTABLE" style="margin-top: 0.1em; margin-bottom: 0.3em; border-color: #bfd9ed; border-width: 1px 1px 0px; border-style: solid; font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="detailTABLE" style="border-color: #bfd9ed; border-width: 0px 0px 1px 1px; border-style: solid; padding: 4px 6px; font-size: 12.4799995422363px;" valign="top"&gt;contains&lt;/TD&gt;&lt;TD class="detailTABLE" style="border-color: #bfd9ed; border-width: 0px 0px 1px 1px; border-style: solid; padding: 4px 6px; font-size: 12.4799995422363px;" valign="top"&gt;&lt;SPAN style="font-style: italic;"&gt;Description&lt;/SPAN&gt;: If &lt;CODE style="font-size: 12.4799995422363px; font-family: monospace, 'Courier New', Courier; color: #000066;"&gt;&lt;SPAN style="font-family: monospace;"&gt;false&lt;/SPAN&gt;&lt;/CODE&gt;, the operation searches for an exact match of the &lt;CODE style="font-size: 12.4799995422363px; font-family: monospace, 'Courier New', Courier; color: #000066;"&gt;&lt;SPAN style="font-family: monospace;"&gt;searchText&lt;/SPAN&gt;&lt;/CODE&gt; string. An exact match is case sensitive. Otherwise, it searches for a value that contains the &lt;CODE style="font-size: 12.4799995422363px; font-family: monospace, 'Courier New', Courier; color: #000066;"&gt;&lt;SPAN style="font-family: monospace;"&gt;searchText&lt;/SPAN&gt;&lt;/CODE&gt; provided. This search is not case sensitive. The default is &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;CODE style="font-size: 12.4799995422363px; font-family: monospace, 'Courier New', Courier; color: #000066;"&gt;&lt;SPAN style="font-family: monospace;"&gt;true&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again - am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156951#M1781</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-03-31T12:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156952#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to provide this sample urls. I can see what you talking about now, and looks like it was an issue that fixed on 10.3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the .NET SDK we will consider adding the value to the url no matter what the default value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now the best way to workaround it is to create your own REST url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 21:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156952#M1782</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-03-31T21:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156953#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Asser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean - ArcGIS Server 10.3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 09:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156953#M1783</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-04-01T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156954#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes ArcGIS Server 10.3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 01:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156954#M1784</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-04-02T01:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156955#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Asser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've upgraded ArcGIS Server from 10.2.2 to 10.3, but, unfortunately, the problem still persists &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still experiencing an "exact match" behavior (i.e. "contains=false") whenever the "contains" parameter is omitted from the respective REST URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really lost here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know, whether there is any workaround for this: how can I use ArcGIS Runtime's "Find" task with a partial match? Maybe it's because my underlying service data is stored in FGDB?&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Apr 2015 15:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156955#M1785</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-04-05T15:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156956#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this is because of the service data type or not. But thanks for letting us know. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a quick workaround in the attachments, it is just a HttpClient request and the returned JSON&lt;/P&gt;&lt;P&gt;deserialized to another object matches the FindResult.Results object so you can use it the same way. Please note that this workaround is for Store apps you can create similar workaround for Desktop apps too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 00:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156956#M1786</guid>
      <dc:creator>AsserSwelam1</dc:creator>
      <dc:date>2015-04-07T00:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156957#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Asser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know when this issue is fixed in either the next ArcGIS Runtime or ArcGIS Server release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 06:05:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156957#M1787</guid>
      <dc:creator>AlexanderGleyzer</dc:creator>
      <dc:date>2015-04-07T06:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task "contains" parameter default value - bug?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156958#M1788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are experiencing the same issue on our installation of ArcGIS Server 10.3.1.&amp;nbsp; This wasn't an issue for us in&amp;nbsp;version 10.2.1.&amp;nbsp; We are in the process of upgrading to ArcGIS Server 10.5.&amp;nbsp; The issue seems to be fixed in&amp;nbsp;version 10.5.&amp;nbsp; Thank you for all your research and explanation as it helped us identify our problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 19:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/find-task-quot-contains-quot-parameter-default/m-p/156958#M1788</guid>
      <dc:creator>AndrewFoster</dc:creator>
      <dc:date>2017-03-08T19:14:26Z</dc:date>
    </item>
  </channel>
</rss>

