⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sphinxclient.setserver.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Set searchd host and port</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sphinxclient.setretries.html">SphinxClient::setRetries</a></div> <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.setsortmode.html">SphinxClient::setSortMode</a></div> <div class="up"><a href="class.sphinxclient.html">SphinxClient</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="sphinxclient.setserver" class="refentry"> <div class="refnamediv">  <h1 class="refname">SphinxClient::setServer</h1>  <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">SphinxClient::setServer</span> &mdash; <span class="dc-title">Set searchd host and port</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><b><b>SphinxClient::setServer</b></b></span>    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$server</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$port</tt></span>   )</div>  <p class="para rdfs-comment">   Sets searchd host name and TCP port. All subsequent requests will use the   new host and port settings. Default host and port are &#039;localhost&#039; and 3312,   respectively.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">server</tt></i></span>     <dd>      <p class="para">       IP or hostname.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">port</tt></i></span>     <dd>      <p class="para">       Port number.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sphinxclient.setretries.html">SphinxClient::setRetries</a></div> <div class="next" style="text-align: right; float: right;"><a href="sphinxclient.setsortmode.html">SphinxClient::setSortMode</a></div> <div class="up"><a href="class.sphinxclient.html">SphinxClient</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -