搜索

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

1.$search->addRange空条件必须设置为null

发布时间:2012-02-23 16:02 t By Dull

$search->addRange('size',null,$size); 正常返回小于$size的列表 $search->addRange('size','',$size); 习惯性用到的''则不行 必须为null对象 希望遇到这个问题的同仁少走弯路 哈 检查代码多次 文档上才发现 http://www.xunsearch.com/doc/php/api/...

2.RE:1265

发布时间:2008-09-09 00:09 t By terry39

...DECLARE_MODULE_GLOBALS(scws); static zend_module_dep scws_deps[] = { {NULL, NULL, NULL} }; zend_module_entry scws_module_entry = { #if ZEND_MODULE_API_NO >= 20050922 STANDARD_MODULE_HEADER_EX, NULL, scws_deps, #else STANDARD_MODULE_HEADER, #endif "scws", scws_functions, PHP_M...

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

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

... -- CREATE TABLE IF NOT EXISTS `sample` ( `id` int(12) unsigned NOT NULL AUTO_INCREMENT, `subject` varchar(1024) NOT NULL, `message` text NOT NULL, `dateline` int(12) unsigned NOT NULL, `author` varchar(1024) NOT NULL, `authorid` int(12) unsigned NOT NULL, `tid` int(12) unsi...

4.RE: 报告一个内存泄露bug,1.1.6版本

发布时间:2011-05-08 00:05 t By hightman

... **** } // free at ! free(at); top = NULL; if (cnt > 0) { --- 1328,1335 ---- } // free at ! if (at != NULL) ! free(at); top = NULL; if (cnt > 0) { *************** *** 139...

5.关于addrange的问题.........

更新时间:2012-02-27 14:02 t By 鸭梨山大

...arch->setQuery($var) if(条件){ $search->addRange('num',intval($ex_num),null); } $search->search(); $search->getQuery()//[color=#0000CD]这里打印出是[/color][color=#FF0000]null[/color] 为什么是null呢?这样就查不出东西啦 help~~~:huh::huh::huh: -----------------------------...

6.RE: scws_has_word的逻辑问题

发布时间:2010-08-02 11:08 t By backluck

... SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) !=...

7.RE: 怎样才能 字母数字汉字组合 按照词典分成一个词语呢?

更新时间:2013-07-03 16:07 t By shuyinglee

... 10:38:49.409846632 +0800 @@ -60,6 +60,9 @@ s->mblen = charset_table_get(NULL); s->off = s->len = 0; s->wend = -1; + + /* set default, shuying.lee adds it */ + scws_use_rule(s, 1); return s; } @@ -141,6 +144,16 @@ s->mode &= ~SCWS_IGN_SYMBOL; } +/* shuying.lee adds it */ +void scws...

8.scws_has_word的逻辑问题

更新时间:2010-07-29 14:07 t By backluck

... SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save the offset. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) !=...

9.搜索全文时较慢,在0.5+秒,甚至1.0+秒【900M数据库】

更新时间:2013-07-05 15:07 t By chinapubmed

...----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-----------------------+------+-----+---------+----------------+ | did | mediumint(8) unsigned | NO | PRI | NULL | auto_increment | | cid | int...

10.[patch] php-scws 扩展在 5.4.x 下的编译兼容补丁

发布时间:2012-03-05 11:03 t By hightman

...,368 **** --- 359,370 ---- if (!(fullpath = expand_filepath(filepath, NULL TSRMLS_CC))) RETURN_FALSE; + #if PHP_API_VERSION < 20100412 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { efree(fullpath); RETURN_FALSE; } + #endif ...

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