Re: Eliminate the short search term

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2011-07-05, at 8:30 AM, Guru™ <nagendra802000@xxxxxxxxx> wrote:

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


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


Thanks

Bastien Koert


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux