| WWW-SearchBroker documentation | view source | Contained in the WWW-SearchBroker distribution. |
WWW::SearchBroker::Search - Search client component of the SearchBroker
use WWW::SearchBroker::Search; # Port the broker server is running on my $port = 9000; # Create a search requestor my $search = new WWW::SearchBroker::Search(port => $port); # Query my $srch = 'SEARCH<15><a,b,c><foo bar>'; # Send query $search->send_query(); # Print results $search->dump_results();
Service functions for the search component of the search broker (WWW::SearchBroker).
Creates a WWW::SearchBroker::Search searcher that makes requests
to a WWW::SearchBroker::Broker broker on $server_port.
Send the specified query to the broker for execution.
Read the aggregated results back from the broker.
Dump the result set to stdout/stderr.
Read an agent response from the specified file handle. Return it in deserialized state (i.e. as a perl object).
WWW::SearchBroker, WWW::SearchBroker::Broker, WWW::SearchBroker::Common, WWW::SearchBroker::Aggregator_Scorer, tests/www_searchbroker.pl.
Nathan Bailey, <nate@cpan.org>
| WWW-SearchBroker documentation | view source | Contained in the WWW-SearchBroker distribution. |