On Jun 14, 2:26 pm, Lucca Mordente <[email protected]> wrote:
> The search is performed in about 40 tables.
> Imagine instantiate 40 models to do this.
> And I have some other tricks that force me to use plain SQL.
>
> Any sugestions?

Yes, take a look at the SearchableBehavior I linked to. It'll create
an index, in a single table, of all your searchable model records.

I think it really should be re-written as a plugin (and I've modified
it myself in other ways) but it does the job.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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