搜索

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

141.XSSearch::setDb

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L475 (显示) public function setDb($name){ $name = strval($name); $this->execCommand(array('cmd' => XS_CMD_SEARCH_SET_DB, 'buf' => strval($name))); $this->_lastDb = $this->_curDb; $this->_lastDbs = $th...

142.RE: 能否提供个hdwiki的html的过滤器和ini文件呢?

更新时间:2012-11-28 22:11 t By chinapubmed

另类解决方法: 直接修改XSDataSource.class.php 文件最后一个函数。 public function process($data, $cs=false) { //echo "\n----- DEBUG DATA INFO -----\n"; //print_r(str_replace('--', '', $data['content'])); $data['content']=str_replace("", '', $data['content']...

143.英文模糊搜索问题

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

...时我网上也查了一些资料,貌似没找到什么好的方案 class XSTokenizerUnary implements XSTokenizer { private $length = 1; // 默认切分长度 public function __construct($arg = null){ if ($arg !== null && $arg !== '') $this->length = $arg; } public function ge...

144.XSSearch::setCutOff

... 返回对象本身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $weight = max(0, (intval($weight * 10) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_CUTOFF, ...

145.Demo遇险记:今天碰到的错误,5576段错误莫名被解决

更新时间:2011-12-01 22:12 t By 五岳之巅

...p Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/ XSUtil.class.php [root@sm xunsearch]# ./sdk/php/util/RequiredCheck.php Xunsearch PHP-SDK 运行需求检查 ...

146.XSErrorException::__construct

...错所在的行数 $previous Exception 源码: sdk/php/lib/XS.class.php#L134 (显示) public function __construct($code, $message, $file, $line, $previous = null){ $this->_file = $file; $this->_line = $line; if (version_compare(PHP_VERSION, '5.3.0', '>=')) { parent::__c...

147.XSException::getRelPath

... {return} string 转换后的相对路径 源码: sdk/php/lib/XS.class.php#L79 (显示) public static function getRelPath($file){ $from = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false; $to = $file; } else { $pos = strrpos($file, '/')...

148.XSCommand::__construct

...符串内容1, 最大长度为 255字节 源码: sdk/php/lib/XSServer.class.php#L62 (显示) public function __construct($cmd, $arg1 = 0, $arg2 = 0, $buf = '', $buf1 = ''){ if (is_array($cmd)) { foreach ($cmd as $key => $value) { if ($key === 'arg' || property_exists($this,...

149.Wordpress搜索建立步骤

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

...文章内容,但是不参与索引。 MyBlogFilter.php代码: [php] class MyBlogFilter implements XSDataFilter { public function process($data, $cs =false) { $data['post_content'] = $this->filterHtml($data['post_content']); return $data; } public function filterHtm...

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