Forum Moderators: open
I updated 10 rows as follows:
update X set A = concat(A, ' <word Z>') where....
I then search for <word Z> and get 0 results instead of 10.
Can anyone explain this?
I tried rebuilding the fulltext index and also bouncing the MySQL instance to clear caches.
What was your search query?
SELECT min(offer.price) as 'price',p1.ID as 'myid',p1.name, p1.desc, p1.image,category.cat1 as 'cat1' ,category.cat2 as 'cat2',cat2.desc as 'cat2name',brand.name as 'brand', brand.image as 'brand_image', MATCH(p1.name, p1.desc, p1.keywords) AGAINST ('$query') as 'relevancy' FROM product p1,brand,offer,productCategory,category, cat2 WHERE MATCH(p1.name, p1.desc, p1.keywords) AGAINST ('$query') and brand.ID = p1.brand and p1.ID = offer.product and p1.ID = productCategory.productID and productCategory.catID=category.ID and category.cat2 = cat2.ID and cat2.ID = (select min(catID) from productCategory where productID = p1.ID) group by p1.ID,p1.name, p1.desc, p1.image, brand, brand_image,cat1,cat2,cat2name order by relevancy desc Where
$query = <Word Z> and p1.keywords = <Column A> And are you searching with LIKE with %'s?
I'm using fulltext search not the like operator.