搜索

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

71.XSSearch::setScwsMulti

...示) public function setScwsMulti($level){ $level = intval($level); if ($level >= 0 && $level < 16) { $cmd = array('cmd' => XS_CMD_SEARCH_SCWS_SET, 'arg1' => XS_CMD_SCWS_SET_MULTI, 'arg2' => $level); $this->execCommand($cmd); } return $this;} 设置当前搜索语句...

72.RE: Overflow bug

发布时间:2010-12-31 11:12 t By hovea

...d */ *************** *** 266,271 **** --- 267,273 ---- if (vlen != NULL) *vlen = rec.value.len; _xdb_read_data(x, value, rec.value.off, rec.value.len); + *((char *)value + len) = '\0'; } return value; ...

73.编译时出错,是怎么回事?scws.h

发布时间:2013-04-18 10:04 t By ffcz

checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://ww...

74.XSDataSource

...l/XSDataSource.class.php#L65 (显示) final public function getData(){ if ($this->dataPos === null || $this->dataPos === count($this->dataList)) { $this->dataPos = 0; $this->dataList = $this->getDataList(); if (!is_array($this->dataList) || count($this->dataList) === 0) { ...

75.rebuild索引的时候加sql报错

发布时间:2014-03-21 10:03 t By wjj-11

... --rebuild --source=mysql://root:'111111'@localhost/tmp_tsg --sql="select*,IF(market_price>0,round(shop_price/market_price*10,1),10) as rebate from tsg_goods" -p ../app/goods.ini [/php][/quote]初始化数据源 ... mysql://root:6$4!rgnbmClskax@localhost/tmp_tsg PHP Notice: Undefined index: co...

76.RE: 英文模糊搜索问题

发布时间:2013-07-31 15:07 t By homingway

... 1; // 默认切分长度 public function __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function getTokens($value, XSDocument $doc=null){ $charset = is_object($doc) ? $doc->getCharset() : 'UTF-8'; $ret = array(); //如果词的总...

77.求解释TF/IDF计算器中get_tfidf的算法

发布时间:2013-10-30 11:10 t By jjyang

function get_tfidf($word, $count) { if ($count < 1000) $count = 21000 - $count * 18; $tf = log($count); $tf = pow($tf, 5) * log(strlen($word)); $tf = log($tf); $idf = log(5000000000/$count); //if ($tf > 13) $idf *= 1.4; return array($...

78.求解释TF/IDF计算器中get_tfidf的算法

发布时间:2013-10-30 11:10 t By jjyang

function get_tfidf($word, $count) { if ($count < 1000) $count = 21000 - $count * 18; $tf = log($count); $tf = pow($tf, 5) * log(strlen($word)); $tf = log($tf); $idf = log(5000000000/$count); //if ($tf > 13) $idf *= 1.4; return array($...

79.RE: scws.so: undefined symbol: core_globals_id in Unknown on line 0 done

更新时间:2010-04-29 01:04 t By hightman

不知你有没有注意到 configure 的结果里,总是显示 checking if zts is enabled... no 问题应该是在这儿 我这儿的FREEBSD,LINUX都是正常的,PHP 4.4.X和PHP5.2.X都测试过~ 查看一下 /usr/local/php/include/php/main/php_config.php 里面是否有 #define ZTS 1 ...

80.XSUtil::flush

flush() 方法 public static void flush() 源码: sdk/php/util/XSUtil.class.php#L183 (显示) public static function flush(){ flush(); if (ob_get_level() > 0) { ob_flush(); }} 刷新标准输出缓冲区

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