搜索

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

381.安装时错误

更新时间:2011-11-09 21:11 t By fg0711

... | | 3. 您现在就可以在我们提供的开发包(SDK)基础上 | | 开发您自己的搜索了。 | | 目前只支持 PHP 语言,参见下面文档: | | /usr/local/xunsearch/sdk/php/README ...

382.XSIndex::addSynonym

... {return} XSIndex 返回自身对象以支持串接操作 源码: 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_INDE...

383.RE: 有没有简洁的php演示搜索代码

更新时间:2011-10-21 19:10 t By 3左3右

...n] /search.php(5): Undefined index: key(8) thrown in /home/boyce/xunsearch/sdk/php/lib/XS.php on line 469

384.设置编码为gbk失效

发布时间:2012-07-12 11:07 t By 小乌龟

...的还是uft-8;求助我错在那里? require '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('allsource'); // 建立 XS 对象,项目名称为:demo $search = $xs->search; // 获取 搜索对象 $query = '部分'; // 这里的搜索语句很简单,就一个短语 $search->...

385.迅搜报错

更新时间:2012-07-16 17:07 t By bustard

[XSException] ../../../usr/local/xunsearch/sdk/php/lib/XS.php(1552): Unexpected respond in search {CMD:129, ARG:514} 代码如下 $xs = new XS('discuz'); $tokenizer = new XSTokenizerScws; $subject = $tokenizer->getTops($forumattr['subject'], 20, 'n,ns'); $stack = array(); foreach($subject as $wor...

386.XSTokenizerScws::setDict

...n} XSTokenizerScws 返回对象本身以支持串接操作 源码: 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->_sett...

387.搜索提示不显示了?

更新时间:2013-06-23 11:06 t By chinapubmed

...p配置问题吗? php.ini配置中把open_basedir=.:/usr/local/xunsearch/sdk/php/:/usr/local/nginx/html/了呀!(我nginx装在/usr/local/nginx下的) 并且给XS.php赋了755权限,骨架文件赋了755权限了! 并且我对照着看了两个平台的php.ini文件,没有特别的差...

388.XSFieldScheme::getField

...FieldMeta 字段元数据对象, 若不存在则返回 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 ...

389.XSTokenizerScws::getResult

...是包含 [off:词在文本中的位置,attr:词性,word:词] 源码: 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); ...

390.RE: 求助:Indexer.php执行不了

更新时间:2012-12-11 11:12 t By gdtv

...下。 [code][root@a107 ~]# /usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --project=xxx –-source=mysql://xxx:xxx@localhost/xxx --sql="select ID,post_title,post_content,UNIX_TIMESTAMP(post_date) as post_time from wp_posts where (post_status='publish' or post_status='pendin...

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