mysql fulltext search as level2 index

Posted by Nir on Stack Overflow See other posts from Stack Overflow or by Nir
Published on 2010-06-15T15:19:04Z Indexed on 2010/06/15 15:22 UTC
Read the original article Hit count: 370

Filed under:
|
|

lets say I have a table with product details. one of the fields is category (integer).

I want to do fulltext search on product name in specific category.

Unfortunately Mysql does not allow me to specify index that includes category and product name as fulltext. It looks like I can use fulltext only on product_name and theefore any fulltext search will search product names in all categories.

Is there any way to solve this (allow fulltext search/index only on products in category)?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about full-text-search