Joined: 25/05/2007 19:41:15
Messages: 4
Location: Boulder, CO USA
Offline
I am working on an application where I often have the name of a US county (ADM2), but need to confirm that it is spelled correctly and also retrieve its adminCode2 in order to get a list of its population centers (PPL). The following request works great:
Why? I have noticed that this request format reliably fails with any US county that has a multi-word name. I'm using a kludge now that forms the request with only the last word in the county name which is hopefully unique within a state (although I haven't checked them all). For example:
This returns the correct county name (San Luis Obispo) and adminCode2 (079). I'd rather not take such chances, but it's OK for now. How could I do this differently? Thanks.
Only the parts of composite names were previously indexed in the search index. As of now the parts as well as the full composite names are indexed and fuzzy search on composite names are now supported.