Global or Instant Search Exact Match Only
Using either the layer search or instant search, I am unable to return exact matches.
It seems from the API documentation that this should be possible:
class SearchQuery
geocortex.essentials.SearchQuery
Represents search query parameters for a Geocortex Search.

As you can see one of the parameters is "contains" it is either true or false. Default is true, which allows partial matches. I want 'false' to only allow exact matches.
Anyone know which file this parameter is located in so I can make this change?
Is it even possible to have the global search return exact matches?
Thanks,
0
-
I'm trying to do this as well. And I saw that in the documentation. Did you figure out what file needs to be edited? 0 -
Hi Rob,
That documentation is for the API, if you were creating custom code it would be possible. The out-of-box search always uses LIKE. There is a request to add this ability as a setting in Manager (GVH-9341), but the idea has not yet been implemented. As a workaround, you could create a workflow to do the search and in the QueryTask of the workflow, you could customize the search to your exact needs.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0
Please sign in to leave a comment.
Comments
2 comments