Re: Querying words instead of phrases
- From: "endangeredmassa@xxxxxxxxx" <endangeredmassa@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 11:17:17 -0800 (PST)
On Feb 29, 12:58 pm, Cubicle Intern <vyts...@xxxxxxxxx> wrote:
Hi,
My website's search function looks up entire phrases instead of
individual words. For example, if I query "Google Groups," I would
like my search to come up with everything in my database that has the
words "Google" and "Groups," not just the phrase "Google Groups." I
would want my search to bring back "Google-tastic Search" or "Group
Compu-Google." Right now it only brings back "Google Groups #1,"
"Google Group #2," etc.
I'm at a loss at how to begin implementing this change. Any
suggestions? I'm working with ASP files, Javascript and HTML. Thanks
in advance for any help.
tyv
You could split the search phrase by spaces, then query each word
individually. Then, merge the lists in such a way that items that
appear in both lists appear at the top of your results page.
.
- References:
- Querying words instead of phrases
- From: Cubicle Intern
- Querying words instead of phrases
- Prev by Date: Querying words instead of phrases
- Next by Date: how work .animate
- Previous by thread: Querying words instead of phrases
- Next by thread: how work .animate
- Index(es):
Relevant Pages
|