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 > Perl Modules

    Plucene::SearchEngine::Index 1.1

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Simon Cozens | More programs
    Perl Artistic License / FREE
    November 7th, 2007, 05:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Plucene::SearchEngine::Index description

    Plucene::SearchEngine::Index is a higher level abstraction for Plucene.

    Plucene::SearchEngine::Index is a higher level abstraction for Plucene.

    SYNOPSIS

    my $indexer = Plucene::SearchEngine::Index->new(
    dir => "/var/lib/plucene"
    );

    my @documents = map { $_->document }
    Plucene::SearchEngine::Index::File->examine("foo.html");

    $indexer->index($_) for @documents;

    This module makes it easy to write to Plucene indexes. It does so by providing an interface to the index writer which, in terms of complexity, sits between Plucene::Index::Writer and Plucene::Simple; it also provides a framework of modules for turning data into Plucene::Document objects, so that you don't necessarily have to parse them yourself. See "Document Frontends and Backends" for more on this.

    Designed to be used with Plucene::SearchEngine::Query, these two modules aim to make it easy for anyone writing search engines based on Plucene.

    METHODS

    new

    my $indexer = Plucene::SearchEngine::Index->new(
    dir => "/var/plucene/foo",
    analyzer => "Plucene::Analysis::SimpleAnalyzer",
    );

    This creates a new indexer; you must specify the directory to contain the index, and you may specify an analyzer to tokenize the data.

    index

    This adds a Plucene::Document to the index.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    level abstraction | Plucene search engine | Perl module | Plucene | search | engine

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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