搜索

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

271.搜索条件可以使数组吗?

发布时间:2012-05-25 17:05 t By latsu

...知道能不能接受 多字段搜索呢? 我的方法: [php] public function getShopRows($array = array()){ Yii::import('application.vendors.sdk.php.lib.XS'); $xs = new XS('shop'); $query = "regionId:".$array['regionId']; //return $query;exit; $ShopDoc = $...

272.RE: ./sdk/php/util/Indexer.php --source=csv --clean demo

发布时间:2012-06-05 10:06 t By inner

经hightman老大提醒,是服务器禁用了fsockopen,修改php.ini把disable_functions = 后的fsockopen删掉即可

273.XSErrorException::__construct

... Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__construct($message, $code, $previ...

274.RE: xunsearch安装成功,索引也显示成功,但是无法搜索

发布时间:2013-08-21 19:08 t By boxshadow

...我使用 require '/usr/local/sdk/php/lib/XS.php'; 会提示require() [function.require]: Failed opening required '/usr/local/sdk/php/lib/XS.php' 小白一个求指点一二

275.XSIndex::addSynonym

...接操作 源码: sdk/php/lib/XSIndex.class.php#L283 (显示) public function addSynonym($raw, $synonym){ $raw = strval($raw); $synonym = strval($synonym); if ($raw !== '' && $synonym !== '') { $cmd = new XSCommand(XS_CMD_INDEX_SYNONYMS, XS_CMD_INDEX_SYNONYMS_ADD, 0, $raw, $syno...

276.XSTokenizerScws::setDict

...操作 源码: sdk/php/lib/XSTokenizer.class.php#L283 (显示) public function setDict($fpath, $mode = null){ if (!is_int($mode)) { $mode = stripos($fpath, '.txt') !== false ? SCWS_XDICT_TXT : SCWS_XDICT_XDB; } $this->_setting['set_dict'] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, ...

277.XSFieldScheme::getField

...false 源码: sdk/php/lib/XSFieldScheme.class.php#L93 (显示) public function getField($name, $throw = true){ if (is_int($name)) { if (!isset($this->_vnoMap[$name])) { if ($throw === true) { throw new XSException('Not exists field with vno: `' . $name . '\''...

278.XSTokenizerScws::getResult

...d:词] 源码: sdk/php/lib/XSTokenizer.class.php#L339 (显示) public function getResult($text){ $words = array(); $text = $this->applySetting($text); $cmd = new XSCommand(XS_CMD_SEARCH_SCWS_GET, XS_CMD_SCWS_GET_RESULT, 0, $text); $res = self::$_server->execCommand($cmd, XS_CMD_OK_S...

279.XSException::getRelPath

...对路径 源码: sdk/php/lib/XS.class.php#L79 (显示) public static function getRelPath($file){ $from = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, '/'); $to = substr($file, 0, $pos);...

280.XSUtil::getOpt

...ull 源码: sdk/php/util/XSUtil.class.php#L161 (显示) public static function getOpt($short, $long = null, $extra = false){ if (self::$options === null) { self::parseOpt(); } $value = null; $options = self::$options; if ($long !== null && isset($options[$long])) { ...

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