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 帮忙看下 谢谢
现在发现一个问题, 129703在数据库中存在, 129704在数据库中没有, 然后从129705开始有, 这样的自增ID不连续, 难道是不可以完整导入的吗?
比如我的搜索词的iphone 我想找出手机分类和手机壳分类下面所有关于iphone的结果 $kw='iphone'; $cid='10,14'; $search->setQuery($kw AND ('cat_id:'.$cid)); 这样没有用,求大神指点
第 2. 点你可以对分类 id 不为 0 的统一在做索引时 $doc->addTerm('cid', 'have') 然后在搜索的时候 $search->addWeight('cid', 'have') 来提权
...ct.default_charset = utf-8 server.index = 8383 server.search = 8384 [pid] type = id [subject] type = title [message] type = body [chrono] type = numeric 另外fsockopen() 报 fsockopen(): unable to connect to localhost:8384 (Permission denied)(2)
[quote='bigxu' pid='8130' dateline='1401925104'] 请展示一下ini文件 [/quote] project.name = nms project.default_charset = utf-8 [oid] type = id phrase = yes [classid] index = self [content] type = body cutlen = 100 [sendtime] type = numeric
比如我有一个栏目ID筛选条件 catid:11 搜索出来的数据,还是有不是catid=11的数据。 配置文件,有catid这个字段 [catid] type = numeric index = self
非常感谢大哥指点 我的php编译大致是这样的 ./configure --prefix=/usr/local/php51 --with-config-file-path=/usr/local/php51/etc --with-mysql=/usr/local/mysql51 --with-mysqli=/usr/local/mysql51/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-pn...
...ult = $this->temp_db->get_where($table, array($table_key_array[$table] => $id))->row_array(); if(empty($result)){ $doc->setFields($result); $res = $index->add($doc); return false; } 返回$res值为 object(XSIndex)#42 (9) { ["_buf":"XSIndex":private]=> string(0) "" [...