Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Search::Odeum::Result(User Contributed Perl DocumentatSearch::Odeum::Result(3)

NAME
       Search::Odeum::Result - Perl interface to the Odeum inverted index API.

SYNOPSIS
	 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;

DESCRIPTION
       Search::Odeum::Result is	a search result	of Odeum database.

METHODS
       next
	   get the next	Search::Odeum::Document	object.

       init
	   initialize the iterator of documents.

       num get the number of the documents.  but this number contains the
	   deleted document.

       and_op($result2);
	   get the new result which have common	elements of two	results;

	    my $res = $res1->and_op($res2);

       or_op($result2);
	   get the new result which have sum of	elements of two	results;

       notand_op($result2);
	   get the new result which have difference of elements	of two
	   results;

SEE ALSO
       http://qdbm.sourceforge.net/

AUTHOR
       Tomohiro	IKEBE, <ikebe@shebang.jp>

COPYRIGHT AND LICENSE
       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.

perl v5.24.1			  2007-04-11	      Search::Odeum::Result(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Search::Odeum::Result&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help