Eliminate the short search term

--000e0ce0b4f089928804a751a4f8
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi All,

I have a search engine which is working fine. However let say if a user
search for books or book its giving results having book or books as
keywords. However when a user types "books on computers" its searching for
whole 3 words like "books" "on" "computers". I want to eliminate the search
terms like "on, at, in etc" and just search for books and computers. Please
help me.

--
*Best,
*
*Guru=99*

--000e0ce0b4f089928804a751a4f8--
nagendra802000 [ Di, 05 Juli 2011 14:30 ] [ ID #2061772 ]

Re: Eliminate the short search term

--Apple-Mail-47-851536506
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8



On 2011-07-05, at 8:30 AM, Guru=E2=84=A2 <nagendra802000 [at] gmail.com> wrote:

> Hi All,
>
> I have a search engine which is working fine. However let say if a user se=
arch for books or book its giving results having book or books as keywords. H=
owever when a user types "books on computers" its searching for whole 3 word=
s like "books" "on" "computers". I want to eliminate the search terms like "=
on, at, in etc" and just search for books and computers. Please help me.
>
> --
> Best,
> Guru=E2=84=A2
>


What i did was add an array of terms not to search on and then use that arra=
y to remove any terms that I don't want.


Thanks

Bastien Koert


--Apple-Mail-47-851536506--
Phpster [ Di, 05 Juli 2011 15:06 ] [ ID #2061773 ]
PHP » gmane.comp.php.database » Eliminate the short search term

Vorheriges Thema: Duplicate table results
Nächstes Thema: Re: [PHP] PHP EOL