Suppose my database has the following entries/data:
1. Do you smoke often?
2. When was the last time you smoked?
3. Have you had any problems related to smoking?
4. When was the first time you smoked?
And if the user did a keyword search on the
word "smoke", I want the search tool to return all the above entries, since they are "related" to "smoke". I want an advanced version of the "like query of SQL" so that I can search for related terms! Same goes, if the user searches for the keyword "smoking", then entries with the word "smoke" must also be returned in addition to those containing "smoking" and "smoked".
Can somebody direct me to any code that can do this, or a
JAVA based tool/program that performs this function?
Thanks in advance