Well, good point of view using Collection.
Actually we get results from Sphinx already "paged", I mean we give him
number of result we want. Then we `use ->whereIn(..., ids)` where ids are
an array of all id returned by Sphinx query :
$options = array(
'limit' => 10, 'offset' => ($this->pag
Yes, that is good. That is what I meant by the code needs work because it is
fetching the objects one at a time instead of using whereIn()
It would be very awesome if you could write a cookbook tutorial for the
Doctrine website describing what you did to integrate Doctrine and sphinx
together. If
As well, someone has tried integrating sphinx with Doctrine.
http://groups.google.com/group/doctrine-user/browse_thread/thread/9b974b93999ad0da
The code needs work but it shows you an idea of how it can be integrated.
- Jon
On Thu, Sep 25, 2008 at 2:43 AM, Jeremy Benoist <[EMAIL PROTECTED]>wro
Hi Bernhard,
Thanks for the reply, I didn't know that Doctrine had a such behavior.
But finaly we decided to choose Sphinx as search engine. It is ORM
independent and sfSphinxPlugin is easy to use.
Jeremy
On 23 sep, 08:06, "Bernhard Schussek" <[EMAIL PROTECTED]> wrote:
> Hi Jeremy,
>
> I cannot
Hi Jeremy,
I cannot answer your question, since I too am waiting for the new
search plugin. Maybe you can use the Searchable behaviour in Doctrine
though to build your own search.
http://www.doctrine-project.org/documentation/manual/1_0/en?chapter=behaviors#core-behaviors:searchable
Bernhard