Select to view content in your preferred language

Flex Map Service Search vs REST Point Query

2051
4
Jump to solution
02-20-2014 08:20 AM
WalterDziuba
Deactivated User
While developing our Flex 3.6 web map, we were hoping to use the App Builder's Layout > Search capabilities to search specific fields in our map services. Without designing specific search widgets for each specific layer ie. Search for Parks, etc, this generic search is not functioning the same, when you compare the results with the REST point query tool.

For example, in one of our map services, we have a column named 'NAME_EN' and this column houses the name of the recreational facility. In some cases, a recreational activity ie. BASEBALL DIAMOND falls on a school property, therefore, the value in the NAME_EN field would be "Somename Public School".

But when you search for the text "School" in the search map service, only 6 value return. But when you query the REST end point I get 51 returned.

I'm using this to query the REST end point: NAME_EN like '%School'

How can Flex search results be so far off compared to the REST query results?

Walter
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
WalterDziuba
Deactivated User
Robert,

Huray...!! Do I get any royalties from this?....lol, just joking.

Will file a bug report and follow up.

Walter

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Walter,

  I have never seen this before... Can you look at the actual SearchWidget_#.xml  and see what the expression that you setup in App Builder looks like?
0 Kudos
WalterDziuba
Deactivated User
Robert,

I'm not using the search widget. Rather I'm using the Search Map Service. Please see image attached.

[ATTACH=CONFIG]31629[/ATTACH]

Here I can add a map service and only select which columns that my users can query on.

Walter
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Walter,

   OK, so you are using the HeaderControllerWidget search. I just did some testing and can confirm that there is an issue. You need to call tech support and file a bug for this.
0 Kudos
WalterDziuba
Deactivated User
Robert,

Huray...!! Do I get any royalties from this?....lol, just joking.

Will file a bug report and follow up.

Walter
0 Kudos