搜索

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

51.为什么我这样写查不出结果集?

发布时间:2013-03-23 08:03 t By gaochunmeng

require_once './lib/XS.php'; $xs = new XS('demo'); $search = $xs->search; $docs = $search->search('cat_ids:108 a'); ---------------------------------------------------------- project.name = demo project.default_charset = utf-8 server.index = 8383 server.search = 8384 [goods...

52.搜索时出错!!!

更新时间:2012-08-03 11:08 t By renzhig

[b][XSErrorException] ../../usr/local/xunsearch/sdk/php/lib/XS.php(2213): stream_set_blocking(): supplied argument is not a valid stream resource(2)[/b] 代码: try { include '/usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('demo'); $docs = $xs->search->search('15'); } catch (XSExceptio...

53.XSSearch

XSSearch All Packages | 属性 | 方法(函数) 包 XS 继承关系 class XSSearch » XSServer » XSComponent 版本 1.0.0 源代码 sdk/php/lib/XSSearch.class.php XS 搜索类, 执行搜索功能 有部分方法支持串接操作 $xs->search->setQuery($str)->se...

54.XSSearch::count

...用后会还原默认排序方式 如果搜索语句和最近一次 search 的语句一样, 请改用 getLastCount 以提升效率 最大长度为 80 字节 {return} int 匹配的搜索结果数量, 估算数值 源码: sdk/php/lib/XSSearch.class.php#L547 (显示) public f...

55.getExpandedQuery 出现错误

更新时间:2012-09-20 21:09 t By wst900528

...出现下面的错误: Fatal error: Uncaught [XSException] ../../../../search/sdk/php/lib/XS.php(2094): Couldn't stat 'data/dream/log_db'(S#515) thrown in /search/sdk/php/lib/XS.php on line 2094 请问是怎么回事呢?谢谢[hr] [root@localhost php]# util/Quest.php --suggest dream m 目...

56.XS::restoreScheme

...ndScheme) { $this->_scheme = $this->_bindScheme; if ($this->_search !== null) { $this->_search->markResetScheme(true); } }} 还原字段方案为项目绑定方案

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

发布时间:2011-09-11 14:09 t By hightman

util.searchskel直接生成默认的搜索 代码 ,你在那个基础 上修改就行了。 也可以参见util.Quest里的写法,真要简单搜索 也就大概下面几句就行了: [code] $xs = new XS('demo'); $docs = $xs->search->search('关键字'); print_r($docs); [/code]

58.XS::setScheme

...me $fs){ $fs->checkValid(true); $this->_scheme = $fs; if ($this->_search !== null) { $this->_search->markResetScheme(); }} 设置当前在用的字段方案

59.RE: search时报错 ,请帮看看是哪的问题

发布时间:2012-12-10 13:12 t By benq81

[XSException] ThinkPHP/Extend/Vendor/sdk/php/lib/XS.php(2087): Unknown Internal Error(S#600) 现在又报这个错误 我执行最新的程序后查看了下执行后的日志: 2012-12-10 13:39:13 worker1[17463] new connection (SOCK:7, IP:127.0.0.1, BURST:1) 2012-12-10 13:39:13 worker1[17463] [soc...

60.XS::getScwsServer

... if ($this->_scws === null) { $conn = isset($this->_config['server.search']) ? $this->_config['server.search'] : 8384; $this->_scws = new XSServer($conn, $this); } return $this->_scws;} 创建 scws 分词连接

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