Hi
Is there any way to improve the search results of the HeaderControllerWidget so that it only returns records that 100% equal the search value entered, rather than ranking other records that contain the value higher in the results
Here is the problem:
I have the widget set to search one layer within one map service only. The layer contains 55,000+ Planning Applications.
The service is set to search only one varchar field (Application_Number).
<searchfields>Application_Number</searchfields>
The problem is if I enter the application number 00226 the HeaderControllerWidget selects records that contain 00226 eg. WC002260 , 7500226 and does not display the record that only has this value.
If I use the search widget and enter 00226 the correct record is selected. This is no doubt because I can specify the expression syntax to be <expression>Application_Number= '[value]'</expression>
Does anyone know if it is possible to define a similar syntax in the HeaderControllerWidget.xml
Please Note: The reason I want to get this working with HeaderControllerWidget is because I have an external Planning application system that passes a URL to my FlexViewer to conduct the search ie.... websites/FlexViewer/index.html?search=00226 and at present it gives incorrect results.
Jon