NOKUBI Takatsugu > Search-Namazu > Namazu.pod.ja

Download:
Search-Namazu-0.96.tar.gz

Annotate this POD

View/Report Bugs
Source  

̾�� (NAME) ^

Search::Namazu - Namazu �����⥸�塼��

���� (SYNOPSIS) ^

  use Search::Namazu;

  @hlists = Search::Namazu::Search(index => '/usr/local/namazu/index',
                                query => 'foo');

  foreach my $hlist (@hlists) {
      print ($hlist->score, $hlist->uri, $hlist->date, $hlist->rank);
  }

���� (DESCRIPTION) ^

���Υ⥸�塼���ϡ�Namzu �饤�֥����Υ��󥿡��ե������Ǥ��� Namazu ����ʸ������ƥ��ΰ����ǡ� http://www.namazu.org/ ���������Ǥ��ޤ���

���� (OVERVIEW) ^

�����ѥ��󥿡��ե������Ȥ��ơ�Search::Namazu::Search �Ȥ����ؿ��� �Ѱդ����Ƥ��ޤ������δؿ����Ƥ֤ȡ������α���Ԥʤ��졢���̤Ȥ��� Search::Namazu::Result ���֥������Ȥ��������֤��ޤ���

Search::Namazu::Result ���֥������Ȥϸġ��θ������̤Ȥ��ơ� ������, URI, ����, ���󥯤��ݻ����Ƥ��ޤ���

Search::Namazu::Search

�ؿ� Search::Namazu::Search �ϰ����Ȥ��ƥϥå����Υ��ե����󥹤��Ȥ��ޤ��� ������ǽ�ʥ����ϰʲ����̤��Ǥ���

index

�����ǥå����ե�������¸�ߤ����ѥ������ꤷ�ޤ���ñ�ȤΥ����ǥå����� ���Ȥ���������ʸ�����򥹥����ͤ򤷤�Ϳ���ޤ�����ʣ���Υ����ǥå��������ꤹ�� �����ˤ������Υ��ե����󥹤����ꤷ�ޤ���

�ʲ������Ǥϡ�/var/www/index/site1 �� /var/www/index/site1 ��2�Ĥ� �����ǥå������顢ʸ���� 'foo' �򸡺�Ƥ��ޤ���

  @result = Search::Namazu::Search(
        index => ['/var/www/index/site1', '/var/www/index/site2'],
        query => 'foo'
        );

query

�����ʸ�����Ȥ��ƻ��ꤷ�ޤ������� namazu ���ޥ��ɤ����ѤǤ��� ���Τ�Ʊ���Ǥ���

sortMethod

�������̤��¤��������ꤷ�ޤ���������ǽ�ʰ����ϰʲ����̤��Ǥ���

NMZ_SORTBYDATE

���ս����¤٤�

NMZ_SORTBYSCORE

�����������¤٤�

NMZ_SORTBYFIELD

�ե������ɽ����¤٤�

��ά���������� NMZ_SORTBYDATE �����ꤵ�줿���ΤȤ��ư������ޤ���

sortOrder

�������̤��¤ӽ������ꤷ�ޤ���������ǽ�ʰ����ϰʲ����̤��Ǥ���

NMZ_DESCENDSORT

�߽�

NMZ_ASCENDSORT

����

��ά���������� NMZ_DESCENDSORT �����ꤵ�줿���ΤȤ��ư������ޤ���

lang

���������ꤷ�ޤ��� ���ܸ�ʸ�Ϥ��оݤ˸������Ԥʤ������ϡ�'ja' �����ꤹ��ɬ�פ������ޤ���

Search::Namazu::Result

Search::Namazu::Result �ϸ������̤��ݻ����뤿���Υ��֥������ȤǤ��� ���Υ��֥������Ȥˤϰʲ��Υ᥽�åɤ������ޤ���

score

���������֤��ޤ���

uri

URI ���֤��ޤ���

date

���դ��֤��ޤ���

rank

���󥯤��֤��ޤ���

summary

���ޥ����֤��ޤ���

title

�����ȥ����֤��ޤ���

��� (COPYRIGHT) ^

Copyright 1999,2000,2001,2002 NOKUBI Takatsugu All rights reserved. This is free software with ABSOLUTELY NO WARRANTY.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

syntax highlighting: