Discussion:
mappoint query
(too old to reply)
Aritra
2008-04-10 13:28:05 UTC
Permalink
Hi,

I am using Mappoint services. Datasource is Mappoint.EU.I have an
application which is using this service where findservice.find method is used
to find the site.Is it possible to make a search having the partial name if
the location.

For e.g.If i search with southend-on-sea, it is giving me a site for
southend-on-sea.

Now, if i search for southend only , it is only returning me site for
southend.

So, is it possible that when i search for 'Southend" only it will give me
all the locations starting with "Southend".

i.e. whether partial name search of a location is possible or not.?

i have a serious production issue regarding this, so if anybody has any
idea, plz reply back.

Thanks & Regards
Derek Chan
2008-04-10 13:59:04 UTC
Permalink
Hi,

the MWS.Find generic call does not accept partial queries. Examples include
"Southe" and "Southen" will not work. I believe that the MWS.Find looks for
exact matches and since "Southend"/"Southend-on-sea" are understood as two
separate locations in the MWS datasource you get two different result sets.
If you need partial queries, you may want to consider using Virtual Earth, as
the queries above will cause disambiguation (southend-on-sea was one of the
disambiguated results).

Hope that helps,
--
Infusion Development
http://www.infusion.com
Post by Aritra
Hi,
I am using Mappoint services. Datasource is Mappoint.EU.I have an
application which is using this service where findservice.find method is used
to find the site.Is it possible to make a search having the partial name if
the location.
For e.g.If i search with southend-on-sea, it is giving me a site for
southend-on-sea.
Now, if i search for southend only , it is only returning me site for
southend.
So, is it possible that when i search for 'Southend" only it will give me
all the locations starting with "Southend".
i.e. whether partial name search of a location is possible or not.?
i have a serious production issue regarding this, so if anybody has any
idea, plz reply back.
Thanks & Regards
Loading...