Main > Programming > Libraries >

Search::InvertedIndex 1.14

Search::InvertedIndex 1.14

Sponsored Links

Search::InvertedIndex 1.14 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.044 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 939
Date added: 2007-04-06
Publisher: Benjamin Franz

Search::InvertedIndex 1.14 description

Search::InvertedIndex is a manager for inverted index maps.

SYNOPSIS

use Search::InvertedIndex;

my $database = Search::InvertedIndex::DB::DB_File_SplitHash->new({
-map_name => /www/search-engine/databases/test-maps/test,
-multi => 4,
-file_mode => 0644,
-lock_mode => EX,
-lock_timeout => 30,
-blocking_locks => 0,
-cachesize => 1000000,
-write_through => 0,
-read_write_mode => RDWR;
});

my $inv_map = Search::Inverted->new({ -database => $database });

##########################################################
# Example Update
##########################################################

my $index_data = "Some scalar - complex structure refs are ok";

my $update = Search::InvertedIndex::Update->new({
-group => keywords,
-index => http://www.nihongo.org/,
-data => $index_data,
-keys => {
some => 10,
scalar => 20,
complex => 15,
structure => 15,
refs => 15,
are => 15,
ok => 15,
},
});
my $result = $inv_map->update({ -update => $update });

##########################################################
# Example Query
# -nodes is an anon list of Search::InvertedIndex::Query
# objects (this allows constructing complex booleans by
# nesting).
#
# -leafs is an anon list of Search::InvertedIndex::Query::Leaf
# objects (used for individual search terms).
#
##########################################################

my $query_leaf1 = Search::InvertedIndex::Query::Leaf->new({
-key => complex,
-group => keywords,
-weight => 1,
});

my $query_leaf2 = Search::InvertedIndex::Query::Leaf->new({
-key => structure,
-group => keywords,
-weight => 1,
});
my $query_leaf3 = Search::InvertedIndex::Query::Leaf->new({
-key => gold,
-group => keywords,
-weight => 1,
});
my $query1 = Search::InvertedIndex::Query->new({
-logic => and,
-weight => 1,
-nodes => [],
-leafs => [$query_leaf1,$query_leaf2],
});
my $query2 = Search::InvertedIndex::Query->new({
-logic => or,
-weight => 1,
-nodes => [$query1],
-leafs => [$query_leaf3],
});

my $result = $inv_map->search({ -query => $query2 });

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

$inv_map->close;

Search::InvertedIndex 1.14 Screenshot

Advertisements

Search::InvertedIndex 1.14 Keywords

Bookmark Search::InvertedIndex 1.14

Hyperlink code:
Link for forum:

Search::InvertedIndex 1.14 Copyright

WareSeeker periodically updates pricing and software information of Search::InvertedIndex 1.14 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Search::InvertedIndex 1.14 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
search engine optimization toolbar, from Netvantage. paid search management, ppc, search engine marketing, sem, seo, search engine optimization, pay ... Free Download
Search::Lemur is a Perl class to query a Lemur server, and parse the results. Free Download
Yahoo::Search::Response is a container object for the result set of one query to the Yahoo! Search API. Free Download
Extended Path Index provides an extended index type based on the Zope index type that has additional query methods. Free Download
Search::QueryParser parses a query string into a data structure suitable for external search engines. Free Download
Search::VectorSpace is a very basic vector-space search engine. Free Download
Yahoo::Search::Request is a container object for a Yahoo! Search request. Free Download
linoleum_linux32 is a run-time module for the L.in.o.l.e.u.m. universal low-level programming language. Free Download