Re: Contact search page

Adam Tauno Williams <[email protected]> Mon, 09 Nov 2009 10:12:22 -0500
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <1257779542.4472.0.camel@linux-m3mt>
On Mon, 2009-11-09 at 09:19 -0500, Dirk H Bartley wrote:
> Greetings
> I'm writing a contact search page for a php application.  However, the
> performance of the search is not even close to as good as for the
> opengroupware search.
> So from my application doing a search like :
> Array ( [0] => Array ( [key] => firstName [value] => Steve [expression]
> => LIKE ) )
>   $flags = array();
>   $flags['limit'] = 250;
>   $detail = 15;
>   print_r($criteria);
>   $result = $ogo->searchForObjects($entityName, $criteria, $detail,
> $flags);
> Takes 6-8 seconds.
> When in the ogo web application the same search from the advanced search
> page only takes a second or so.  Is there a way to quicken my search to
> get it to perform like in the ogo browser based application?

What is your detail level?

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc