Re: Contact search page

Dirk H Bartley <[email protected]> Mon, 09 Nov 2009 10:48:40 -0500
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
15

On Mon, 2009-11-09 at 10:12 -0500, Adam Tauno Williams wrote:
> 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