Wais

Wais is a Perl module with access to freeWAIS-sf libraries.
Download

Wais Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ulrich Pfeifer and Norbert Goevert
  • Publisher web site:
  • http://search.cpan.org/~ulpfr/

Wais Tags


Wais Description

Wais is a Perl module with access to freeWAIS-sf libraries. Wais is a Perl module with access to freeWAIS-sf libraries.USAGEThe main high-level interface are the functions Wais::Search and Wais::Retrieve. Both return a reference to an object of the class Wais::Result.Wais::SearchArguments of Wais::Search are hash references, one for each database to search. The keys of the hashes should be:queryThe query to submit.databaseThe database which should be searched.hosthost is optional. It defaults to 'localhost'.portport is optional. It defaults to 210.tagA tag by which individual results can be associated to a database/host/port triple. If omitted defaults to the database name.relevantIf present must be a reference to an array containing alternating document id's and types. Document id's must be of type Wais:Docid.Here is a complete example: $result = Wais::Search({'query' => 'pfeifer', 'database' => $db1, 'host' => 'ls6', 'relevant' => }, {'query' => 'pfeifer', 'database' => $db2});If host is 'localhost' and database.src exists, local search is performed instead of connecting a server.Wais::Search will open $Wais::maxnumfd connections in parallel at most. Requirements: · Perl


Wais Related Software