Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Wais 2.311

    Download button

    No screenshots available
    Downloads: 292  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ulrich Pfeifer and Norbert Goevert | More programs
    Perl Artistic License / FREE
    May 16th, 2007, 12:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Wais description

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

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

    USAGE

    The 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::Search

    Arguments of Wais::Search are hash references, one for each database to search. The keys of the hashes should be:

    query

    The query to submit.

    database

    The database which should be searched.

    host

    host is optional. It defaults to 'localhost'.

    port

    port is optional. It defaults to 210.

    tag

    A tag by which individual results can be associated to a database/host/port triple. If omitted defaults to the database name.

    relevant

    If 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' => [$id, 'TEXT']},
    {'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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    freeWAIS-sf libraries | Perl access | Perl module | Wais | freeWAIS-sf | libraries

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM