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 帮忙看下 谢谢
...rn $this; } // check primary key of document $fid = $this->xs->getFieldId(); $key = $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...
... bool 有效返回 true, 无效则返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L175 (显示) public function checkValid($throw = false){ if (!isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); ...
...w/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...') 配置文件没有问题,搜索...
XSFieldScheme All Packages | 方法(函数) 包 XS 继承关系 class XSFieldScheme 实现接口 IteratorAggregate, Traversable 版本 1.0.0 源代码 sdk/php/lib/XSFieldScheme.class.php XS 数据字段方案 每个方案包含若干个字段结构对象 XS...
...}警告:添加第 35000 条数据失败 - Missing value of primarky key (FIELD:pid) #0 /usr/local/xunsearch/sdk/php/util/Indexer.php(195): XSIndex->update(Object(XSDocument)) sql语句: sql="select c.contentid,c.status,b.contentid from phpcms_content c,phpcms_c_news b where c.contentid=b.co...
...openBuffer del() 方法 public XSIndex del(mixed $term, string $field=NULL) $term mixed 单个主键或指定字段的索引词, 或多个组成的数组, 编码与 xs 默认字符集一致 $field string 索引词所属的字段名称, 默认不指定则为主键字段 (...