Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 12277

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Swish Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="函数参考"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="swf_viewport"
HREF="function.swf-viewport.html"><LINK
REL="NEXT"
TITLE="Swish::__construct"
HREF="function.swish-construct.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.swf-viewport.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.swish-construct.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.swish"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>CLXIII. Swish Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN231463"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.intro"
>简介</A
></H1
><P
>&#13;    The swish extension provides the bindings for Swish-e API.
    Swish-e stands for "Simple Web Indexing System for Humans - Enhanced" and
    is an open source system for indexing and search.
    Swish-e itself is licensed under GPL license, but uses a clause that
    allows applications to link against the library if every copy of the
    combined work is accompanied by the URL to Swish-e source code. Here it
    is: <A
HREF="http://swish-e.org"
TARGET="_top"
>http://swish-e.org</A
>.
   </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>警告</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>本扩展模块是<SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>实验性</I
></SPAN
>的。本模块的行为,包括其函数的名称以及其它任何关于此模块的文档可能会在没有通知的情况下随
PHP 以后的发布而改变。使用本扩展模块风险自担。</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.requirements"
>需求</A
></H1
><P
>&#13;    PECL/swish requires PHP 5.1.3 or newer. 
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.install"
>安装</A
></H1
><P
>&#13;    安装此 PECL 扩展库的信息可在手册中标题为 <A
HREF="install.pecl.html"
>PECL 扩展库安装</A
>的一章中找到。 更多信息如新版本,下载,源文件,维护者信息以及更新日志等可以在这里找到:
    <A
HREF="http://pecl.php.net/package/swish"
TARGET="_top"
>http://pecl.php.net/package/swish</A
>.
   </P
><P
>&#13;    The latest PECL/swish Win32 DLL can be downloaded here:
    <A
HREF="http://pecl4win.php.net/ext.php/php_swish.dll"
TARGET="_top"
>php_swish.dll</A
>.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.configuration"
>运行时配置</A
></H1
><P
>本扩展模块在 <TT
CLASS="filename"
>php.ini</TT
> 中未定义任何配置选项。</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.examples"
>范例</A
></H1
><P
>&#13;    <TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
CLASS="EXAMPLE"
><TR
><TD
><DIV
CLASS="example"
><A
NAME="AEN231488"
></A
><P
><B
>例 1. Basic search query</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><code><font color="#000000">
<font color="#0000BB">&lt;?php<br /><br />try </font><font color="#007700">{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000BB">$swish </font><font color="#007700">= new </font><font color="#0000BB">Swish</font><font color="#007700">(</font><font color="#DD0000">"index.swish-e"</font><font color="#007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000BB">$results </font><font color="#007700">= </font><font color="#0000BB">$swish</font><font color="#007700">-&gt;</font><font color="#0000BB">query</font><font color="#007700">(</font><font color="#DD0000">"test OR text"</font><font color="#007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;echo </font><font color="#DD0000">"Found "</font><font color="#007700">, </font><font color="#0000BB">$results</font><font color="#007700">-&gt;</font><font color="#0000BB">hits</font><font color="#007700">, </font><font color="#DD0000">" results\n"</font><font color="#007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;while (</font><font color="#0000BB">$result </font><font color="#007700">= </font><font color="#0000BB">$results</font><font color="#007700">-&gt;</font><font color="#0000BB">nextResult</font><font color="#007700">()) {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#0000BB">var_dump</font><font color="#007700">(</font><font color="#0000BB">$result</font><font color="#007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break; </font><font color="#FF8000">//break after the first result<br />&nbsp;&nbsp;&nbsp;&nbsp;</font><font color="#007700">}<br /><br />} </font><font color="#0000BB">catch </font><font color="#007700">(</font><font color="#0000BB">SwishException $e</font><font color="#007700">) {<br />&nbsp;&nbsp;&nbsp;&nbsp;echo </font><font color="#DD0000">"Error: "</font><font color="#007700">, </font><font color="#0000BB">$e</font><font color="#007700">-&gt;</font><font color="#0000BB">getMessage</font><font color="#007700">(), </font><font color="#DD0000">"\n"</font><font color="#007700">;<br />}<br /><br /></font><font color="#0000BB">?&gt;</font>
</font>
</code></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
>
   </P
><P
>上例的输出类似于:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>Found 9 results
object(SwishResult)#3 (8) {
  ["swishreccount"]=&#62;
  int(1)
  ["swishrank"]=&#62;
  int(1000)
  ["swishfilenum"]=&#62;
  int(10)
  ["swishdbfile"]=&#62;
  string(13) "index.swish-e"
  ["swishdocpath"]=&#62;
  string(23) "README.SUBMITTING_PATCH"
  ["swishtitle"]=&#62;
  NULL
  ["swishdocsize"]=&#62;
  int(4557)
  ["swishlastmodified"]=&#62;
  int(1072136752)
}</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.constants"
>预定义常量</A
></H1
><P
>以下常量由本扩展模块定义,因此只有在本扩展模块被编译到
PHP 中,或者在运行时被动态加载后才有效。</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="constant"
><B
>Swish::META_TYPE_UNDEF</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::META_TYPE_STRING</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::META_TYPE_ULONG</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::META_TYPE_DATE</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_FILE_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_TITLE_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_HEAD_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_BODY_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_COMMENTS_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_HEADER_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_EMPHASIZED_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_META_BIT</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_FILE</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_TITLE</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_HEAD</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_BODY</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_COMMENTS</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_HEADER</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_EMPHASIZED</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_META</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
><DT
><TT
CLASS="constant"
><B
>Swish::IN_ALL</B
></TT
> 
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;    </P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="swish.classes"
>预定义类</A
></H1
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN231625"
>预定义类</A
></H2
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="swish.class.swish"
><B
CLASS="classname"
>Swish</B
></A
></H3
><P
>&#13;    </P
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swish.properties"
>属性</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <SPAN
CLASS="property"
>indexes</SPAN
> - the array of indexes used and their properties. Certain
        list of properties depends on Swish-e version.
       </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swish.methods"
>方法</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <A
HREF="function.swish-construct.html"
>Swish::__construct</A
> - constructs new
        <B
CLASS="classname"
>Swish</B
> object. 
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swish-prepare.html"
>Swish-&#62;prepare</A
> - prepares and returns
        <B
CLASS="classname"
>SwishSearch</B
> object.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swish-query.html"
>Swish-&#62;query</A
> - executes the query and
        returns <B
CLASS="classname"
>SwishResults</B
> object.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
><LI
><P
><A
HREF="function.swish-getmetalist.html"
>Swish-&#62;getMetaList</A
> - returns an array
       of meta entries for the given index file.</P
></LI
><LI
><P
><A
HREF="function.swish-getpropertylist.html"
>Swish-&#62;getPropertyList</A
> - returns an array
       of properties for the given index file.</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="swish.class.swishsearch"
><B
CLASS="classname"
>SwishSearch</B
></A
></H3
><P
>&#13;    </P
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swishsearch.methods"
>方法</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <A
HREF="function.swishsearch-setstructure.html"
>SwishSearch-&#62;setStructure</A
> - sets the
        structure flag in the search object. This flag is used to limit search
        to certain parts of HTML documents.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishsearch-setphrasedelimiter.html"
>SwishSearch-&#62;setPhraseDelimiter</A
> - sets
        the phrase delimiter character. The default delimiter is double-quotes.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishsearch-setsort.html"
>SwishSearch-&#62;setSort</A
> - sets the sort
        order of the results.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishsearch-setlimit.html"
>SwishSearch-&#62;setLimit</A
> - sets the limits
        for the search.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishsearch-resetlimit.html"
>SwishSearch-&#62;resetLimit</A
> - resets the
        limits.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishsearch-execute.html"
>SwishSearch-&#62;execute</A
> - executes the
        query and returns <B
CLASS="classname"
>SwishResults</B
> object.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="swish.class.swishresults"
><B
CLASS="classname"
>SwishResults</B
></A
></H3
><P
>&#13;    </P
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swishresults.properties"
>属性</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <SPAN
CLASS="property"
>hits</SPAN
> - the number of results in this
        <B
CLASS="classname"
>SwishResults</B
> object.
       </P
></LI
><LI
><P
>&#13;        <SPAN
CLASS="property"
>indexes</SPAN
> - the array of indexes used in the search.
       </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swishresults.methods"
>方法</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <A
HREF="function.swishresults-nextresult.html"
>SwishResults-&#62;nextResult</A
> - returns
        next <B
CLASS="classname"
>SwishResult</B
> object or <TT
CLASS="constant"
><B
>FALSE</B
></TT
> if no
        more results are available.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishresults-seekresult.html"
>SwishResults-&#62;seekResult</A
> - sets the
        current seek position in the <B
CLASS="classname"
>SwishResults</B
>
        object.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishresults-getparsedwords.html"
>SwishResults-&#62;getParsedWords</A
> -
        returns an array of words in the query with stopwords removed.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishresults-getremovedstopwords.html"
>SwishResults-&#62;getRemovedStopwords</A
> -
        returns an array of removed stopwords.
       </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="swish.class.swishresult"
><B
CLASS="classname"
>SwishResult</B
></A
></H3
><P
>&#13;    </P
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swishresult.properties"
>属性</A
></H4
><P
></P
><UL
><LI
><P
>Properties list depends on Swish-e version, see examples.</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="swish.class.swishresult.methods"
>方法</A
></H4
><P
></P
><UL
><LI
><P
>&#13;        <A
HREF="function.swishresult-getmetalist.html"
>SwishResult-&#62;getMetaList</A
> - returns
        an array of meta entries for the index used in this result.
       </P
></LI
><LI
><P
>&#13;        <A
HREF="function.swishresult-stem.html"
>SwishResult-&#62;stem</A
> - stems the word
        and returns result as an array of strings.
        Throws <B
CLASS="classname"
>SwishException</B
> on error.
       </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="swish.class.swishexception"
><B
CLASS="classname"
>SwishException</B
></A
></H3
><P
>&#13;     <B
CLASS="classname"
>SwishException</B
> extends the built in
     <B
CLASS="classname"
>Exception</B
> class and possesses the same set of 
     properties and methods. See <A
HREF="language.exceptions.html#language.exceptions.extending"
>the 节 called <I
>扩展 PHP 内置的异常处理类</I
> 于 µÚ 20 章</A
> for more details.
    </P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>目录</B
></DT
><DT
><A
HREF="function.swish-construct.html"
>Swish::__construct</A
>&nbsp;--&nbsp;Construct a Swish object</DT
><DT
><A
HREF="function.swish-getmetalist.html"
>Swish-&#62;getMetaList</A
>&nbsp;--&nbsp;Get the list of meta entries for the index</DT
><DT
><A
HREF="function.swish-getpropertylist.html"
>Swish-&#62;getPropertyList</A
>&nbsp;--&nbsp;Get the list of properties for the index</DT
><DT
><A
HREF="function.swish-prepare.html"
>Swish-&#62;prepare</A
>&nbsp;--&nbsp;Prepare a search query</DT
><DT
><A
HREF="function.swish-query.html"
>Swish-&#62;query</A
>&nbsp;--&nbsp;Execute a query and return results object</DT
><DT
><A
HREF="function.swishresult-getmetalist.html"
>SwishResult-&#62;getMetaList</A
>&nbsp;--&nbsp;Get a list of meta entries</DT
><DT
><A
HREF="function.swishresult-stem.html"
>SwishResult-&#62;stem</A
>&nbsp;--&nbsp;Stems the given word</DT
><DT
><A
HREF="function.swishresults-getparsedwords.html"
>SwishResults-&#62;getParsedWords</A
>&nbsp;--&nbsp;Get an array of parsed words</DT
><DT
><A
HREF="function.swishresults-getremovedstopwords.html"
>SwishResults-&#62;getRemovedStopwords</A
>&nbsp;--&nbsp;Get an array of stopwords removed from the query</DT
><DT
><A
HREF="function.swishresults-nextresult.html"
>SwishResults-&#62;nextResult</A
>&nbsp;--&nbsp;Get the next search result</DT
><DT
><A
HREF="function.swishresults-seekresult.html"
>SwishResults-&#62;seekResult</A
>&nbsp;--&nbsp;Set current seek pointer to the given position</DT
><DT
><A
HREF="function.swishsearch-execute.html"
>SwishSearch-&#62;execute</A
>&nbsp;--&nbsp;Execute the search and get the results</DT
><DT
><A
HREF="function.swishsearch-resetlimit.html"
>SwishSearch-&#62;resetLimit</A
>&nbsp;--&nbsp;Reset the search limits</DT
><DT
><A
HREF="function.swishsearch-setlimit.html"
>SwishSearch-&#62;setLimit</A
>&nbsp;--&nbsp;Set the search limits</DT
><DT
><A
HREF="function.swishsearch-setphrasedelimiter.html"
>SwishSearch-&#62;setPhraseDelimiter</A
>&nbsp;--&nbsp;Set the phrase delimiter</DT
><DT
><A
HREF="function.swishsearch-setsort.html"
>SwishSearch-&#62;setSort</A
>&nbsp;--&nbsp;Set the sort order</DT
><DT
><A
HREF="function.swishsearch-setstructure.html"
>SwishSearch-&#62;setStructure</A
>&nbsp;--&nbsp;Set the structure flag in the search object</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.swf-viewport.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.swish-construct.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>swf_viewport</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Swish::__construct</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>