I've used Magpie rss library in PHP with great success to do fast parsing of the OpenSearch XML data.
How long are your opensearch queries taking without going through PHP to return results? -byron --- "Insurance Squared Inc." <[EMAIL PROTECTED]> wrote: > We've built a php frontend onto nutch. We're > finding that this > interface is dreadfully slow and the problem is the > interface between > the two languages. > > Here's where the slow down is: > > $url = 'http://localhost:8080/opensearch?query=' . > $query . > '&start=' . $start_index . > '&hitsPerPage=' . > HITS_PER_PAGE . > '&hitsPerSite=' . > HITS_PER_SITE . > '&hitsPerDup=' . > HITS_PER_DUP; > $xml_contents = file_get_contents ($url); > <--------this step right > here is slow. > > That above function call in our code can take > between 5 to 12 seconds to > complete. > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
