MySQL Forums
Forum List  »  Full-Text Search

Re: fulltext searching questions...
Posted by: Felix Geerinckx
Date: May 17, 2005 02:51PM

Alex wrote:

> SELECT model,img,cat,rating,price
> FROM products
> WHERE make='Kodak' MATCH (make,model,description) AGAINST('camera')


WHERE make = 'Kodak' AND MATCH ...


>So is there a way to have it return only items that match all keywords, not
> just any of them?

Investigate IN BOOLEAN MODE here: http://dev.mysql.com/doc/mysql/en/fulltext-boolean.html

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Views
Written By
Posted
3432
May 17, 2005 12:47PM
Re: fulltext searching questions...
2348
May 17, 2005 02:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.