On Feb 29, 12:58 pm, Cubicle Intern <vyts...@gmail.com> 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.
|