[XSException] ../application/0.0.1/library/Component/XS.php(834): Missing field of type ID #0
-d为指定索引库 使用1.0.0自带sdk发现,如下情况 指定-d 索引库后,无法查询,直接报错 条件是,并没有使用默认索引库db,即data/项目/下面没有默认的db索引库 即指定了-d 索引库,也会去查找默认索引库db,并且返回结束...
...] tokenizer = full [subject] type = title [content] type = body #导入 php util/Indexer.php --rebuild --source=mysql://数据库用户名:数据库密码@数据库地址/数据库名 --sql="select t.tid as tid, t.fid as fid, t.author as author, t.authorid as authorid, t.postdate as postdate, t.s...
quit, result error (CODE:514): XS.php(2092): Unknown Internal Error(S#600) XS.php(1550): Unexpected respond in search {CMD:129, ARG:600} quit, IO error (ERROR:Broken pipe): XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:timeout) quit, IO timeout (TIMEOUT:...
... 2. 新增支持项目自定义词库,[url=http://www.xunsearch.com/doc/php/guide/index.dict]参见文档[/url] 3. 改进网络 IO 读取,优化搜索内存运用等大幅提升性能和稳定性 4. 净化服务端日志使记录更有价值 5. 改进 util.Indexer 和 util.Quest 加入 --inf...
...配置文件内容,实际使用时可以将文件保存至 `$prefix/sdk/php/app/discuz.ini`。 ~~~ [php] project.name = discuz project.default_charset = GBK ;服务端用默认值 ;server.index = 8383 ;server.search = 8384 [pid] type = id [fid] index = self tokenizer = full [tid] [first] inde...
我想将收集的词加入到词库中去,用以提高切词的准确度,不知道如何添加。 还有,我想问问,Windows版的“php_scws.dll”文件有没有更新到1.0.3版 非常感谢。
...ception » XSException » Exception 版本 1.0.0 源代码 sdk/php/lib/XS.class.php XS 错误异常类定义, XS 所有操作过程发生错误均抛出该实例 Protected 属性 隐去继承来的属性 名称类型描述定义于 code Exception f...
...始批量导入数据 (请直接输入数据) ... [XSException] ../lib/XS.php(1971): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 ../lib/XS.php(1911): XSServer->read(8) #1 ../lib/XS.php(1896): XSServer->getRespond() #2 ../lib/XS.php(1880): XSServer->execCommand(Arr...
...turn} XSSearch 返回自身对象以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L444 (显示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_M...