Error 500 CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General error: 1364 Field 'goodnum' doesn't have a default value http://www.xunsearch.com/doc/php/guide/search.count
根据http://www.xunsearch.com/doc/php/guide/start.demo 的内容测试,反馈如下的信息。 --------------------------------------------------------------- # sdk/php/util/Quest.php demo DEMO 在 3 条数据中,大约有 0 条包含 DEMO ,第 0-0 条,用时:0.0021 秒。 --------...
按照http://www.xunsearch.com/doc/php/guide/start.demo的指导, [code]cd $prefix/sdk/php util/Indexer.php --source=csv --clean demo[/code] 提示如下: /usr/bin/env: php: No such file or directory 请问是什么原因?
[attachment=51][attachment=52]http://www.xunsearch.com/doc/php/guide/start.demo[img]C:\Users\illow\Desktop\桌面图纸.jpg[/img][/img]:\Users\illow\Desktop\截图.jpg[/img]
建议看这里:[url]http://www.xunsearch.com/doc/php/guide/start.demo[/url]
addWeight('title', $skey) 作何解释?addWeight 是只针对一个词的。 此外 $skey 发果是关键字你就用 setQuery($skey . " type:1") 这样啊,详见: http://www.xunsearch.com/doc/php/guide/search.query
前台数据用xunsearch就好,只索引发布的内容(普通浏览者可以看到的)。 管理后台搜索的话,还是用mysql like吧。 如果非要这么做那就多看下这个文档: http://xunsearch.com/doc/php/guide/search.query
...是我不想要的,我就想删除掉 http://www.xunsearch.com/doc/php/guide/util.logger 看了这个文档,发现比较好操作 # 删除 demo 项目中 搜索日志词 word util/Logger.php --del=word demo 这样就可以了, 可是现在有个问题,搜索日志里面有一个...
不对呢,仔细看一下这里,http://www.xunsearch.com/doc/php/guide/index.rebuild // 这里是开始,所有的索引操作都放在里面,update操作会先执行删除操作,然后执行add操作,update也可以的 $index->beginRebuild(); $data = array(); $doc = new XSDocument; $doc->...
全部是英文单词 数据来源: twitter tumblr amazon alibaba flickr 等的标签 原来多是词组形式 改成了scws的单字形式 没有附加任何属性 也就是说全部使用默认属性 参考 http://www.xunsearch.com/doc/php/guide/index.dict