help regarding search
Posted: Thu Feb 08, 2007 10:29 pm
hello i have been trying to implement a search based on the city name,country name,state name and subjects.
But the problem is that these may appear in any order in the search text and i am getting it difficult to extract distinctly the name of the city,state,country and subject in the search string. lets say someone search for New York City,usa Maths;usa New york city maths or any combination of these. this search works fine in case the city name,country name or subject name consists of a single word. can anyone help to find solution for this kind of search.
But the problem is that these may appear in any order in the search text and i am getting it difficult to extract distinctly the name of the city,state,country and subject in the search string. lets say someone search for New York City,usa Maths;usa New york city maths or any combination of these. this search works fine in case the city name,country name or subject name consists of a single word. can anyone help to find solution for this kind of search.