搜索

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

191.单个字母或单个字就截掉不出现了?

发布时间:2014-01-09 08:01 t By gardennet

...nd_text($title); $words = $cws->get_tops(10); $cws->close(); $tags = array(); foreach ($words as $val) { $tags[] = $val['word']; } return implode(',', $tags); } print_r(get_tags_arr($text)); 象这个代码,最终输出结果是“vnii”,前面的a就不见了,或...

192.search.php的错误

发布时间:2012-05-03 17:05 t By situxunsearch

... #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2067): XSServer->execCommand(Array, 201) #3 /usr/local/xunsearch/sdk/php/lib/XS.php(2028): XSServer->setProject('demo') #4 /usr/local/xunsearch/sdk/php/lib/XS.php(1280): XSServer->open('8384') #5 /usr/local/xunsearch/sdk/php/lib/XS.php(2011): XSSea...

193.以json 格式数据导入报错

发布时间:2013-06-24 16:06 t By yestar

...www/fix/file1.txt -c gbk 报错误为 WARNING: invalid line #1 - Empty array INFO: reach end of the file, total lines: 1 Íê³ÉË÷Òýµ¼È룺³É¹¦ 0 Ìõ£¬Ê§°Ü 0 Ìõ

194.全文检索 tokenizer = full 时,无法查询

发布时间:2013-09-04 16:09 t By hongjh

.../usr/local/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('goods'); $data = array( 'goods_id' => 112, 'goods_name' => 'hello my goodsname', 'goods_sn' => 'RX8899-114' ); $doc = new XSDocument; $doc->setFields($data); $xs->index->add($doc); 3. 查询 3.1 $docs =...

195.mysql导入数据不成功,开始重建索引后提示 [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB

更新时间:2011-10-20 15:10 t By mengfanchao

开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}

196.导入 mysql 数据源的问题

更新时间:2011-09-20 16:09 t By tisswb

...oy of the project(S#508) #0 ../phplib/XS.php(1809): XSServer->execCommand(Array, 201) #1 ../phplib/XS.php(1770): XSServer->setProject('discuz') #2 ../phplib/XS.php(1753): XSServer->open(8383) #3 ../phplib/XS.php(300): XSServer->__construct(8383, Object(XS)) #4 ../phplib/XS.php(222): XS->getInde...

197.XSFieldMeta

...明细 __construct() 方法 public void __construct(string $name, array $config=NULL) $name string 字段名称 $config array 可选参数, 初始化字段各项配置 源码: sdk/php/lib/XSFieldScheme.class.php#L298 (显示) public function __construct($name, $config =...

198.XSSearch::setSort

...unction setSort($field, $asc = false, $relevance_first = false){ if (is_array($field)) { return $this->setMultiSort($field, $asc, $relevance_first); } if ($field === null) { $cmd = new XSCommand(XS_CMD_SEARCH_SET_SORT, XS_CMD_SORT_TYPE_RELEVANCE); } else { $type = XS...

199.创建索引失败

更新时间:2012-12-18 15:12 t By HiLinz

...10): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2210, Array) #1 /usr/local/xunsearch/sdk/php/lib/XS.php(2030): XSServer->connect(NULL, true) #2 /usr/local/xunsearch/sdk/php/lib/XS.php(2016): XSServer->open() #3 /usr/local/xunsearch/sdk/php/lib/XS.php(344): XSServer->__construct(...

200.英文模糊搜索问题

发布时间:2013-07-31 10:07 t By homingway

...){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总长度小于给定的长度,则直接返回该词 $strlen = mb_strlen($value,$charset); if($strlen length) { $ret[] = $value; return $ret; } for($l=$this->length;$l

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