搜索

大约有 70 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0053秒)

21.Unable to load dynamic library './usr/lib/php/scws.so'

发布时间:2009-10-13 12:10 t By h_jlin

安装scws.so 用php -m 显示 错误! Unable to load dynamic library './usr/lib/php/scws.so' ... cannot open shared object file: No such file or directory in Unknown on line 0 我的php.ini 配置是: [scws] extension = "/usr/lib/php/scws.so" scws.default.charset = gbk scws.default.fpa...

22.XSSearch::setCutOff

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $weight = max(0, (intval($weight * 10) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_CUTOFF, $percent, $weight...

23.XSSearch::setLimit

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L461 (显示) public function setLimit($limit, $offset = 0){ $this->_limit = intval($limit); $this->_offset = intval($offset); return $this;} 设置搜索结果的数量和偏移 用于搜索结果分页, 每次调用 ...

24.XSServer::hasRespond

... true, 否则返回 false 源码: sdk/php/lib/XSServer.class.php#L350 (显示) public function hasRespond(){ // check socket if ($this->_sock === null || $this->_flag & (self::BROKEN | self::FILE)) { return false; } $wfds = $xfds = array(); $rfds = array($this->_sock); ...

25.XS::getIndex

... XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index'] : 8383; if (($pos = strpos($conn, ';')...

26.XSIndex::closeBuffer

...象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L378 (显示) public function closeBuffer(){ return $this->openBuffer(0);} 提交所有指令并关闭缓冲区 若未曾打开缓冲区, 调用本方法是无意义的

27.XSSearch::getAllSynonyms

...条组成的数组为值 源码: sdk/php/lib/XSSearch.class.php#L164 (显示) public function getAllSynonyms($limit = 0, $offset = 0, $stemmed = false){ $page = $limit > 0 ? pack('II', intval($offset), intval($limit)) : ''; $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'buf1' => $page...

28.XSSearch::terms

...进行编码转换, 默认为 true {return} array 可用于高亮显示的词条列表 源码: sdk/php/lib/XSSearch.class.php#L515 (显示) public function terms($query = null, $convert = true){ $query = $query === null ? '' : $this->preQueryString($query); if ($query === '' && $t...

29.XSSearch::setSynonymScale

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L147 (显示) public function setSynonymScale($value){ $arg1 = XS_CMD_SEARCH_MISC_SYN_SCALE; $arg2 = max(0, (intval($value * 100) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_MISC, $arg1, $arg2); $this->execCommand($...

30.XSServer::write

... 默认为字符串长度 源码: sdk/php/lib/XSServer.class.php#L368 (显示) protected function write($buf, $len = 0){ // quick return for empty buf $buf = strval($buf); if ($len == 0 && ($len = $size = strlen($buf)) == 0) { return true; } // loop to send data $this->...

  • 时间不限
  • 按相关性排序