WWW::SearchBroker - Parallel metasearcher for Internet-based services (WWW, IMAP, LDAP, etc.)


WWW-SearchBroker documentation Contained in the WWW-SearchBroker distribution.

Index


Code Index:

NAME

Top

WWW::SearchBroker - Parallel metasearcher for Internet-based services (WWW, IMAP, LDAP, etc.)

SYNOPSIS

Top

	use WWW::SearchBroker::Broker;
	# Create a Broker
	my $broker = new WWW::SearchBroker::Broker(
		timeout => 10, # wait up to 10s for responses from agents
	);
	my $ret = $broker->fork_and_loop();

	use WWW::SearchBroker::Search;
	# Port the broker server is running on
	my $port = 9000;

	# Search query
	my $srch = 'SEARCH<15><a,b,c><foo bar>';

	# Create a search requestor
	my $search = new WWW::SearchBroker::Search(port => $port);

	$search->send_query('SEARCH','perl *pl','grep','grep','grep');
	$search->dump_results();

	# Quit broker
	$search = new WWW::SearchBroker::Search(port => $port);
	$search->send_query('QUIT','','');
	$search->dump_results();

DESCRIPTION

Top

Parallel metasearcher for Internet-based services (WWW, IMAP, LDAP, etc.). See 'Personalised metasearch: Augmenting your brain' http://ausweb.scu.edu.au/aw03/papers/bailey/ for more details.

BUGS

Top

This module has only been tested on the Monash network using Monash Internet services. Since it builds off other CPAN modules, it is expected that the module will work across a variety of standards-based environments but this has not been demonstrated. The author welcomes feedback (especially patches!) for any assumptions made that don't comply with different environments.

SEE ALSO

Top

WWW::SearchBroker, WWW::SearchBroker::Search, WWW::SearchBroker::Common, WWW::SearchBroker::Aggregator_Scorer, tests/www_searchbroker.pl.

AUTHOR

Top

Nathan Bailey, <nate@cpan.org>

COPYRIGHT

Top


WWW-SearchBroker documentation Contained in the WWW-SearchBroker distribution.
# WWW::SearchBroker
# Parallel metasearcher for Internet-based services (WWW, IMAP, LDAP, etc.)
#
# $Id: SearchBroker.pm,v 0.7 2003/07/02 07:40:05 nate Exp nate $

package WWW::SearchBroker;
our $VERSION = sprintf("%d.%02d", q$Revision: 0.7 $ =~ /(\d+)\.(\d+)/);

use strict;
use warnings;

###########################################################################

1;

__END__