Hello

For an old project, I did that:
$this->Document->findAll("MATCH (`Document`.`name`) AGAINST
('{$search_term}' IN BOOLEAN MODE)")
and it works as any other findAll.

For multiple conditions, I can only say: try it ;)

On 9 mar, 16:06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Does Cake support full text search in the find and findAll methods?
> I'd like to add something like this as a condition:
>
> $search = 'some words to find';
> $conditions[] = array("MATCH column1 AGAINST ('$search')");
> $conditions[] = array('Model.column2' => 'somevalue');
>
> Assume that there would be multiple other normal conditions, as
> above.  Does Cake support this?  I'd like to avoid using the query
> method, and be able to exploit the simplicity of the findAll method.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to