Search::Odeum::Result - Perl interface to the Odeum inverted index API.
use Search::Odeum; my $od = Search::Odeum->new('index'); my $res = $od->search('Perl'); while(my $doc = $res->next) { printf "%s\n", $doc->uri; } $od->close;
Search::Odeum::Result is a search result of Odeum database.
get the next Search::Odeum::Document object.
initialize the iterator of documents.
get the number of the documents. but this number contains the deleted document.
get the new result which have common elements of two results;
my $res = $res1->and_op($res2);
get the new result which have sum of elements of two results;
get the new result which have difference of elements of two results;
http://qdbm.sourceforge.net/
Tomohiro IKEBE, <ikebe@shebang.jp>
Copyright (C) 2007 by Tomohiro IKEBE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Search::Odeum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Search::Odeum
CPAN shell
perl -MCPAN -e shell install Search::Odeum
For more information on module installation, please visit the detailed CPAN module installation guide.