 |

wendy
User
Jul 15, 2004, 6:36 PM
Post #1 of 2
(2224 views)
Shortcut
|
|
problem with search results
|
Can't Post
|
|
Hi - I have a problem with my search results. When I do a search for "Tim" - the first result I get back is "Time". Any clue what the problem might be? Thanks.
|
|
|  |
 |

Theo
Project Manager
/ Moderator

Jul 16, 2004, 11:57 AM
Post #2 of 2
(2218 views)
Shortcut
|
|
Re: [wendy] problem with search results
[In reply to]
|
Can't Post
|
|
Wendy, Thanks for the post. By default, Search Engine will search words that begin with your search term. You can make the search function return only whole words. You simply add a hidden field called whole_word: <input type="hidden" name="whole_word" value="x"> Change the value of x to one of the following to reflect what you want: 2 = whole word. If you search the word "dry", you won't get a match with "dryer" or "laundry". 1 = beginning word boundary: If you search the word "dry", you will get a match with "dryer", but not "laundry". Note that "1" is actually the default behavior. In your case, setting the whole_word field to 2 should do the trick. Let us know if you have any other questions! :) Theo Wiersma Project Manager
|
|
|  |
|