On Wed, Oct 14, 2009 at 11:03:26AM +0300, Matei Pavel
wrote:> I'm using the latest Xapian release and PHP bindings and I only have
about
> 40.000 indexed documents, yet when i loop through the results and getting
> each result document with get_document(), it takes a really long time.
>
> For example, a query that only returns 2-300 results takes about 2.1
seconds
> to complete the loop.
It would be useful if you could show us a complete example PHP script which
exhibits this behaviour.
> Is there anything I can do to speed this up?
Profile to find where the time is spent. For some tips see:
http://trac.xapian.org/wiki/ProfilingXapian
Cheers,
Olly