Re: Querying words instead of phrases



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.
.



Relevant Pages

  • Re: Querying words instead of phrases
    ... 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 ...
    (comp.lang.javascript)
  • Querying words instead of phrases
    ... My website's search function looks up entire phrases instead of ... individual words. ... For example, if I query "Google Groups," I would ...
    (comp.lang.javascript)
  • Querying multiple words
    ... My website's search function looks up entire phrases instead of ... individual words. ... For example, if I query "Google Groups," I would ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Article <-> Section
    ... Same there in America: cheek-by-jowl is the standard. ... I admit to having no difficulty identifying with the language usage ... thereby denying that phrases are part of ... "vocabulary consists of a list of individual words but not of stock ...
    (alt.usage.english)
  • Re: kudos to Father Luke
    ... google groups seems to be having its periodic pains again, fucking ... thing isn't giving the same results from query to query just now. ... Damn good book for first novel. ...
    (misc.writing)