Re: Contact search page
Adam Tauno Williams <[email protected]> Mon, 09 Nov 2009 10:53:57 -0500
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <1257782037.4472.8.camel@linux-m3mt> |
On Mon, 2009-11-09 at 10:48 -0500, Dirk H Bartley wrote: > 15 Hmmm, that shouldn't be that slow. Including 32 is usually what really slows people down. Can you enable Logic profiling and we can see if the time is being burned in a Logic operation or just in the zOGI protocol bundle. [COILS will support taking over searchForObjects calls very soon; and that will be faster in any case. COILS is a Python re-implmentation of OpenGroupware, it is 100% parallel installable.] > 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