Jump to content

donig an index search, remind me again?


michaellunsford

Recommended Posts

I just forget the search language....

instead of
[code]SELECT * FROM `addresses` WHERE `num` = '123' AND `dir` = 'N' AND `street_name` = 'Main' AND `street_type` = 'street'[/code]

I think it used a like and separated a single search field by "%"
[code]SELECT * FROM `addresses` WHERE `indexed_search` LIKE '%123%N%Main%Street%'[/code]

BUT using the name of the fulltext index like I would a column gives me an unknown column error...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.