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

FreeBSD Manual Pages

  
 
  

home | help
Search::Odeum::DocumenUser Contributed Perl DocumentSearch::Odeum::Document(3)

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

SYNOPSIS
	 use Search::Odeum;
	 my $doc = Search::Odeum::Document->new('http://www.example.com/');

DESCRIPTION
       Search::Odeum::Document represents a Odeum document data	structure.

METHODS
       Search::Odeum::Document->new($uri)
	   Create new Search::Odeum::Document instance.	 $uri specifies	the
	   URI of a document.

       attr($key, $value)
	   set or get an attribute to a	document.  $key	specifies the name of
	   an attribute. $value	specifies the value of attribute.  if $valuve
	   is omitted the stored attribute value will be returned.

       addword($normal,	$asis)
	   add a word to the document.	$noraml	specifies the noramlized form
	   of word. $asis specifies the	appearance form	of word.
	   Search::Odeum does not provide the method to	extract	words from
	   text	and normalize it.

       id  get the ID of document.

       uri get the URI of document.

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.32.0			  2007-04-09	    Search::Odeum::Document(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::Document&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help