Based on my recent post concerning how to do a Soundex search I thought I had this all figured out. Apparently my technique of using a function to supply the criteria values is not the answer in the case of trying to run a MATCH query. Everything I have tried creates a MySQL syntax error when the search is activated. I was able to successfully test my query using PHPMyAdmin and it worked as expected.
First, I tried the obvious, but it didn't work -
Thanks,
John
First, I tried the obvious, but it didn't work -
MATCH(OS.name)/AGAINST:('John')Of course this didn't work either -
MATCH(OS.name)/AGAINST:{data:keywords}This attempt used a function that returned the properly formatted value for the AGAINST() portion of the query. It returned - ('criteria') - but still didn't work -
MATCH(OS.name)/AGAINST:{fn:show_search_crit}Any ideas on how to get this to work are greatly appreciated!
Thanks,
John