搜索

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

81.XSSearch::setSort

..._first=false) $field string 依据指定字段的值排序, 设为 null 则用默认顺序 $asc bool 是否为正序排列, 即从小到大, 从少到多, 默认为反序 $relevance_first bool 是否优先相关性排序, 默认为否 {return} XSSearch 返回对象本...

82.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

...emo RE /data/www/xunsearch/bin/xs-ctl.sh /hom/bigxu/xu_restart.log > /dev/null 2>&1 & try_times=5 if [[ $1 == 'help' || $4'x' == 'x' ]] then echo "arg1 try:url,example http://www.xunsearch.com/site/search?q=demo " echo "arg2 res_content,example:RE (content of arg1 must include ar...

83.XSFieldMeta::getCustomTokenizer

... $name = 'XSTokenizer' . ucfirst($this->tokenizer); $arg = null; } if (!class_exists($name)) { $file = $name . '.class.php'; if (file_exists($file)) { require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPA...

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

更新时间:2011-07-30 11:07 t By hightman

...); scws_send_text(s, text, strlen(text)); cur = top = scws_get_tops(s, 10, NULL); while (cur != NULL) { printf("WORD: %s, weight:%.2f, times:%d, attr:%.2s\n", cur->word, cur->weight, cur->times, cur->attr); cur = cur->next; } scws_free_tops(top); scws_free(s);

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

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

... scws_send_text(s, text, strlen(text)); cur = top = scws_get_tops(s, 10, NULL); while (cur != NULL) { printf("WORD: %s, weight:%.2f, times:%d, attr:%.2s\n", cur->word, cur->weight, cur->times, cur->attr); cur = cur->next; } scws_free_tops(top); scws_free(s); [/quote] 实在是太好...

86.XSIndex::update

... $fid = $this->xs->getFieldId(); $key = $doc->f($fid); if ($key === null || $key === '') { throw new XSException('Missing value of primary key (FIELD:' . $fid . ')'); } // request cmd $cmd = new XSCommand(XS_CMD_INDEX_REQUEST, XS_CMD_INDEX_REQUEST_ADD); if ($add !== true) {...

87.XSErrorException

...t(int $code, string $message, string $file, int $line, Exception $previous=NULL) $code int 出错代码 $message string 出错信息 $file string 出错所在文件 $line int 出错所在的行数 $previous Exception 源码: sdk/php/lib/XS.class.php#L134 ...

88.RE: 第二次遇到无法重启的情况

发布时间:2012-03-30 09:03 t By KnightE

...caught SIGINT, shutdown gracefully 2012-03-30 09:40:33 worker3[10481] get NULL pointer from pipe, shutdown gracefully 2012-03-30 09:40:33 worker2[10480] get NULL pointer from pipe, shutdown gracefully 2012-03-30 09:40:33 worker3[10481] event server end 2012-03-30 09:40:33 worker1[10982] get NULL...

89.XSCsvDataSource::deinit

deinit() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}

90.XSCsvDataSource::init

init() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}

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