搜索

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

81.RE: 三个问题需要求教

发布时间:2011-01-17 16:01 t By hightman

...t/scws/libscws/scws.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** libscws/scws.c 22 Oct 2010 11:09:46 -0000 1.18 --- libscws/scws.c 17 Jan 2011 07:29:38 -0000 1.19 *************** *** 328,333 **** --- 328,340 ---- { if (!SCWS_IS_DIGIT(ch)) { + ...

82.XSDocument::__call

...Document.class.php#L108 (显示) public function __call($name, $args){ if ($this->_meta !== null) { $name = strtolower($name); if (isset($this->_meta[$name])) { return $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($t...

83.XSDocument::addTerm

...nction addTerm($field, $term, $weight = 1){ $field = strval($field); if (!is_array($this->_terms)) { $this->_terms = array(); } if (!isset($this->_terms[$field])) { $this->_terms[$field] = array($term => $weight); } elseif (!isset($this->_terms[$field][$term])) { ...

84.多个addRange后getLastCount有问题

更新时间:2013-12-16 19:12 t By xilin

例如: $query = $xs->search->setQuery($keyword); if ($c1) { $query->addRange('c1',$c1,$c2); } if ($d1) { $query->addRange('d1',$d1,$d2); } $query->setMultiSort($sorts); $rs = $query->setLimit($perPage,$start)->search(); $count = $xs->search->getLastCount(); 这时$count不准确,我看过论坛...

85.XSDataSource::getData

...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) { ...

86.XSDatabaseSQLite3::query

...l){ //echo "[DEBUG] SQL: $sql\n"; $res = $this->obj->query($sql); if ($res === false) { throw new XSException('SQLITE3 ERROR(#' . $this->obj->lastErrorCode() . '): ' . $this->obj->lastErrorMsg()); } if (!is_object($res)) { $ret = $res; } else { $ret = array(); ...

87.XSUtil::fixWidth

... for ($i = $j = 0; $i < strlen($text) && $j < $size; $i++, $j++) { if ((ord($text[$i]) & 0xe0) === 0xe0) { if (($size - $j) == 1) { break; } $j++; $i += 2; } } return substr($text, 0, $i) . str_repeat($pad, $size - $j);}...

88.重启xunsearch

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

...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 arg2) " echo "arg3 path of xs...

89.RE: 三个问题需要求教

更新时间:2011-01-20 15:01 t By nftw

...还是不行。 [root@estar scws-1.1.5]# patch -p0 libscws/scws.c < scws.diff patching file libscws/scws.c Hunk #1 FAILED at 328. Hunk #2 FAILED at 684. 2 out of 2 hunks FAILED -- saving rejects to file libscws/scws.c.rej 不知道我拷贝的scws.diff内容是不是有问题,如下: *** libs...

90.使用讯搜搭建phpwind的全文检索

更新时间:2012-05-18 09:05 t By myoula

... content from pw_threads t left join pw_tmsgs tm on t.tid = tm.tid where t.ifcheck = 1 and t.fid != 0 and t.fid !=444 order by t.tid asc" --project=项目名 4 建立phpwind的索引队列 #建立队列表 mysql -uroot -p 你的phpwind数据库名 CREATE TABLE `mq` ( `mid` int(10) unsigned NOT NU...

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