搜索

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

111.indexer.php 执行报错

更新时间:2012-07-25 13:07 t By utilities

...k --sql="SELECT * FROM documents" --project=demo 开始重建索引 ... [XSException] lib/XS.php(2094): DB has been rebuilding(S#407) #0 lib/XS.php(1192): XSServer->execCommand(Array, 257) #1 Indexer.php(197): XSIndex->beginRebuild() #2 {main}[hr] /sdk/php$ util/RequiredCheck.php Xunsearch PHP...

112.XSServer::write

...size - $len) . '/' . $size . ', REASON:' . $reason . ')'; throw new XSException($msg); }} 写入数据

113.XSSearch::getHotQuery

...t[$body] = $doc->f($type); } $this->restoreDb(); } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { throw $e; } } $this->xs->restoreScheme(); return $ret;} 获取热门搜索词列表

114.XSSearch::getCorrectedQuery

...", XS::convert($res->buf, $this->_charset, 'UTF-8')); } } catch (XSException $e) { if ($e->getCode() != XS_CMD_ERR_XAPIAN) { throw $e; } } return $ret;} 获取修正后的搜索词列表 通常当某次检索结果数量偏少时, 可以用该函数设计...

115.RE: 关于使用过程的权限控制问题

更新时间:2014-09-30 00:09 t By qiuxis

...php 搜索的时候,出现的。权限需要怎么解决? 错误:[XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2481): Permission denied(C#13, localhost:8384) [/quote] 原因是防火墙的问题。 你可以先试 #setenforce 0 然后在打开你的搜索页,搜...

116.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

...o '200'; } } catch(XSException $e) { echo '500'; } 更新 try { $xs = new XS('projectname'); $index = $xs->...

117.XSSearch::setFacets

... if ($ff->type !== XSFieldMeta::TYPE_STRING) { throw new XSException("Field `$name' cann't be used for facets search, can only be string type"); } $buf .= chr($ff->vno); } $cmd = array('cmd' => XS_CMD_SEARCH_SET_FACETS, 'buf' => $buf); $cmd['arg1'] = $exact =...

118.XSTokenizerScws::__construct

... $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . __CLASS__); } self::$_server = $xs->getScwsServer(); self::$_server->setTimeout(0); self::$_charset = $xs->getDefaultCharset(); ...

119.在执行demo的时候出现这个事什么原因?Undefined data source type: `test.csv'

更新时间:2014-02-24 11:02 t By 情雨轩

...ean demo 清空现有索引数据 ... 初始化数据源 ... test.csv [XSException] util/XSDataSource.class.php(49): Undefined data source type: `test.csv' #0 Indexer.php(241): XSDataSource::instance('test.csv', NULL) #1 {main}[hr] 我在util下面增加了一个test.csv下如了下面这些...

120.XS::convert

...nv($from, $to . '//TRANSLIT', $data); } else { throw new XSException('Cann\'t find the mbstring or iconv extension to convert encoding'); } } return $data;} 字符集转换 要求安装有 mbstring, iconv 中的一种

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