错误信息:[XSException] ../../../..(769): Missing field of type ID 搜索应用程序和 xunsearch 不在同一台服务器 相应的ini我也是从xunsearch服务器下载下来的 server.index = 搜索服务器外网IP:8383 server.search =搜索服务器外网IP:8384 监听也是 ...
ini 要放进 sdk 所在机器的 app 目录。 你最好贴上你的 ini 文件内容、所在路径;以及出错的测试代码。
.../app/torrentkittys.ini'); 均不成功 均报错 Fatal error: Uncaught [XSException] ../../../../usr/local/xunsearch/sdk/php/lib/XS.php(819): Missing field of type ID thrown in /usr/local/xunsearch/sdk/php/lib/XS.php on line 819
...误:[21-Dec-2012 16:13:14] 致命的运行时错误(E_ERROR) Uncaught [XSException] ../xunsearch/sdk/php/lib/XS.php(1018): Missing value of primarky key (FIELD:_ID) thrown /var/www/xunsearch/sdk/php/lib/XS.php 1018 我的查询语句是:SELECT `ID` as _ID,`title` as _title,`Content` as _body...
[XSException] ../application/0.0.1/library/Component/XS.php(834): Missing field of type ID #0
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS PHP Fatal error: Uncaught [XSException] data/api/xs/lib/XS.php(819): Missing field of type ID thrown in /xxxxx/data/api/xs/lib/XS.php on line 819 帮忙看下 谢谢
...ypeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); } return false; } return true;} 判断该字段方案是否有效、可用 每个方案必须并且只能包含一个类型为 ID 的字段
...nfig); } if (isset($this->_fields[$field->name])) { throw new XSException('Duplicated field name: `' . $field->name . '\''); } if ($field->isSpeical()) { if (isset($this->_typeMap[$field->type])) { $prev = $this->_typeMap[$field->type]; throw new XSExc...
...il]# ./Logger.php --flush /export/home/www/xunsearch/data/products -c gbk [XSException] ../lib/XS.php(819): Missing field of type ID #0 ../lib/XS.php(522): XSFieldScheme->checkValid(true) #1 ../lib/XS.php(296): XS->loadIniFile('/export/home/ww...') #2 Logger.php(94): XS->__construct('/export/home/ww...
...y = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value of primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) { $cmd->arg1 = XS_CMD_INDEX_REQUES...