搜索

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

331.RE: Missing field of type ID

更新时间:2013-08-22 13:08 t By boxshadow

...sdk/php/lib/ 这样require './XS.php'; 会报错 Fatal error: require() [function.require]: Failed opening required './XS.php' (include_path='.:/www/wdlinux/nginx_php-5.2.17/lib/php') in /www/web/torrentkittys/public_html/index2.php on line 2 代码修改过程: 在当前目录下添加了...

332.RE: xunsearch安装成功,索引也显示成功,但是无法搜索

发布时间:2013-08-22 20:08 t By czhlxd

...我使用 require '/usr/local/sdk/php/lib/XS.php'; 会提示require() [function.require]: Failed opening required '/usr/local/sdk/php/lib/XS.php' 小白一个求指点一二 [/quote] 应该是require '/usr/local/xunsearch/sdk/php/lib/XS.php';吧,直接生成搜索骨架代码参考呗 [/qu...

333.XSSearch::setMultiSort

...接操作 源码: sdk/php/lib/XSSearch.class.php#L246 (显示) public function setMultiSort($fields, $reverse = false, $relevance_first = false){ if (!is_array($fields)) { return $this->setSort($fields, !$reverse, $relevance_first); } // [vno][0/1] (0:reverse,1:asc) $buf = ''...

334.XSIndex::addExdata

...接操作 源码: sdk/php/lib/XSIndex.class.php#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSException('Failed to read exdata f...

335.RE: Linux C API scws_get_tops的调用方法

发布时间:2011-07-30 16:07 t By lankelan

...an' pid='6608' dateline='1311994562'] 参见 phpext/php_scws.c 中的 PHP_FUNCTION(scws_get_tops); 吧 这个用法有说明里有提到啊,就是返回一个链表结构,依次遍历取出就好了,大概如下: scws_t s; scws_top_t top, cur; char *text = "测试说明文字"; s...

336.XSIndex::del

...接操作 源码: sdk/php/lib/XSIndex.class.php#L220 (显示) public function del($term, $field = null){ // get field $field = $field === null ? $this->xs->getFieldId() : $this->xs->getField($field); // get commands $cmds = array(); $terms = is_array($term) ? array_unique($term) ...

337.RE: xunsearch安装成功,索引也显示成功,但是无法搜索

发布时间:2013-08-23 12:08 t By boxshadow

...我使用 require '/usr/local/sdk/php/lib/XS.php'; 会提示require() [function.require]: Failed opening required '/usr/local/sdk/php/lib/XS.php' 小白一个求指点一二 [/quote] 应该是require '/usr/local/xunsearch/sdk/php/lib/XS.php';吧,直接生成搜索骨架代码参考呗 [/qu...

338.RE: cygwin编译出错

更新时间:2011-08-17 23:08 t By 司徒隐

...s/lib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld 返回 1 make: *** [scws] 错误 1 是怎么回事呢,还请高人指点呀。[hr] [quote='司徒隐' pid='6635' dateline='1313594342'] [quote...

339.Wordpress搜索建立步骤

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

...p代码: [php] class MyBlogFilter implements XSDataFilter { public function process($data, $cs =false) { $data['post_content'] = $this->filterHtml($data['post_content']); return $data; } public function filterHtml($str) { $str=eregi_replace("", '', $str); ...

340.RE: [2012] SCWS-1.2.0 发布,BSD协议、支持自定义词库、PHP5.4

发布时间:2012-05-01 12:05 t By emo

...01 12:03:57 2012] [error] [client ::1] PHP Fatal error: Call to undefined function scws_open() in /Applications/AMPPS/www/a.php on line 3, referer: http://localhost/

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