搜索

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

71.建议能否增加一个检索过滤接口 SetFilter

更新时间:2012-02-26 23:02 t By stcer

...分面搜索结果(某一顶级分类)进一步过滤搜索 所以建议search对象能否增加一个像sphinx api过滤接口: Prototype: function SetFilter ( $attribute, $values, $exclude=false ) 接口参考:http://sphinxsearch.com/docs/2.0.3/api-func-setfilter.html xunsearch使用比其...

72.XSTokenizerScws

...'] = array(); } $this->_setting['add_dict'][] = new XSCommand(XS_CMD_SEARCH_SCWS_SET, XS_CMD_SCWS_ADD_DICT, $mode, $fpath); return $this;} 添加分词词典, 支持 TXT/XDB 格式 getResult() 方法 public array getResult(string $text) $text string 待分词的文本 ...

73.自定义分词器

自定义分词器 `Xunsearch` 默认内置了功能强大的 [SCWS][1] 分词系统,也附加提供了一些简单常见的分词规则, 但考虑到用户的个性需求,特意提供了自定义分词器的功能。 > note: 自定义分词器存在一个缺陷,它不支持存...

74.XSIndex

... (显示) public function getScwsMulti(){ $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_GET, 'arg1' => XS_CMD_SCWS_GET_MULTI); $res = $this->execCommand($cmd, XS_CMD_OK_INFO); return intval($res->buf);} 获取当前索引库的分词复合等级 参见 setScwsMulti openBuffer() 方...

75.索引管理器

...记录,则指令不起作用也不会报错。用法如下: ~~~ # 给 search 增加同义词 find util/Indexer.php demo --add-synonym search:find # 再给 search 增加另一个同义词 seek util/Indexer.php demo --add-synonym search:seek # 给 "搜索" 增加 "检索" "查找" 两个同义...

76.xunsearch 每天不定时挂掉,原因不明

发布时间:2012-05-22 20:05 t By Asa

... 为了优化性能,数据放入内存了 /dev/shm/data on /usr/local/xunsearch/data 跟踪信息如下,麻烦老大给看看情况 应用地址 http://dict.qinbei.com [root@www ~]# ps -axu|grep search Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root ...

77.Wordpress搜索建立步骤

更新时间:2011-12-29 11:12 t By assad

1.安装xunsearch,参见文档:http://www.xunsearch.com/doc/php/guide/start.installation,这里不必多说 2.启动xunsearch $prefix/bin/xs-ctl.sh start,即可启动xunsearch 3.构建项目:首先参考文档:http://www.xunsearch.com/doc/php/guide/ini.guide 文档中说明了项目...

78.不使用Indexer.php添加数据到xunsearch

更新时间:2012-12-21 20:12 t By Dull

...,感谢hightman提供如此高效的搜索解决方案[/b] 约定xunsearch安装路径为/usr/local/xunsearch 所有配置文件和http://www.xunsearch.com/doc/php/guide/ini.guide保持一致 搜索配置文件,sample.ini [code]project.name = sample project.default_charset = GBK ;serve...

79.增量索引不成功

发布时间:2014-02-13 17:02 t By lzc2523700

//保护迅搜文件 include SRCPATH.'libs/xunsearch/lib/XS.php'; $this->temp_db = $ci->load->database ( $table_db_array[$table], TRUE ); //建立 XS 对象 $xs = new XS($project_name); //获取 索引对象 $index = $xs->index; $doc = new XSDocument; $result = array(); ...

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