Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    KinoSearch 0.15

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Marvin Humphrey | More programs
    GPL / FREE
    June 13th, 2007, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    KinoSearch description

    KinoSearch is a search engine library.

    KinoSearch is a search engine library.

    SYNOPSIS

    First, write an application to build an inverted index, or "invindex", from your document collection.

    use KinoSearch::InvIndexer;
    use KinoSearch::Analysis::PolyAnalyzer;

    my $analyzer
    = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' );

    my $invindexer = KinoSearch::InvIndexer->new(
    invindex => '/path/to/invindex',
    create => 1,
    analyzer => $analyzer,
    );

    $invindexer->spec_field(
    name => 'title',
    boost => 3,
    );
    $invindexer->spec_field( name => 'bodytext' );

    while ( my ( $title, $bodytext ) = each %source_documents ) {
    my $doc = $invindexer->new_doc;

    $doc->set_value( title => $title );
    $doc->set_value( bodytext => $bodytext );

    $invindexer->add_doc($doc);
    }

    $invindexer->finish;
    Then, write a second application to search the invindex:
    use KinoSearch::Searcher;
    use KinoSearch::Analysis::PolyAnalyzer;

    my $analyzer
    = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' );

    my $searcher = KinoSearch::Searcher->new(
    invindex => '/path/to/invindex',
    analyzer => $analyzer,
    );

    my $hits = $searcher->search( query => "foo bar" );
    while ( my $hit = $hits->fetch_hit_hashref ) {
    print "$hit->{title}n";
    }

    Here are some key features of "KinoSearch":

    · Extremely fast and scalable - can handle millions of documents
    · Incremental indexing (addition/deletion of documents to/from an existing index).
    · Full support for 12 Indo-European languages.
    · Support for boolean operators AND, OR, and AND NOT; parenthetical groupings, and prepended +plus and -minus
    · Algorithmic selection of relevant excerpts and highlighting of search terms within excerpts
    · Highly customizable query and indexing APIs
    · Phrase matching
    · Stemming
    · Stoplists

    Requirements:

    · Perl



    Product's homepage

    Here are some key features of "KinoSearch":

    · Extremely fast and scalable - can handle millions of documents
    · Incremental indexing (addition/deletion of documents to/from an existing index).
    · Full support for 12 Indo-European languages.
    · Support for boolean operators AND, OR, and AND NOT; parenthetical groupings, and prepended plus and -minus
    · Algorithmic selection of relevant excerpts and highlighting of search terms within excerpts
    · Highly customizable query and indexing APIs
    · Phrase matching
    · Stemming
    · Stoplists

    Requirements:

    · Perl

      


    TAGS:

    search engine | search library | Perl module | KinoSearch | search | engine

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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