Mailinglisten-Archive |
Hallo Andi,
nun mit
select product.id as id, product.title as title, product.manufacturer_id as
mid, manufacturer.title as manuf_title
from product, manufacturer
where product.manufacturer_id = manufacturer.id
and (
( match (product.title) against('blau grün') ) or
( match(manufacturer.title) against('blau grün') )
)
limit 1,20
sollte das ganze noch etwas schlanker sein.
Was ich jetzt nicht weiss ob MySQL auch bei einem Fulltext-Index einen
sinnvollen Index Merge für das ODER beherrscht.
Gruß,
Andreas
php::bar PHP Wiki - Listenarchive