搜索

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

331.XSIndex::addExdata

... 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L253 (显示) public function addExdata($data, $check_file = true){ if (strlen($data) < 255 && $check_file && file_exists($data) && ($data = file_get_contents($data)) === false) { throw new XSE...

332.XSIndex::del

... 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L220 (显示) public function del($term, $field = null){ // get field $field = $field === null ? $this->xs->getFieldId() : $this->xs->getField($field); // get commands $cmds = array(); $terms = is_ar...

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

发布时间:2012-11-26 10:11 t By chinapubmed

...,但是总无效,希望能提供个过滤器 代码如下: [code]class MyBlogFilter implements XSDataFilter { public function process($data, $cs =false) { $data['content'] = $this->filterHtml($data['content']); return $data; } public fun...

334.XSServer::execCommand

...e, 其它返回响应的 XSCommand 对象 源码: sdk/php/lib/XSServer.class.php#L279 (显示) public function execCommand($cmd, $res_arg = XS_CMD_NONE, $res_cmd = XS_CMD_OK){ // create command object if (!$cmd instanceof XSCommand) { $cmd = new XSCommand($cmd); } // just cac...

335.自定义词库用不了。非常不解啊。。

发布时间:2011-10-21 16:10 t By ci169

...p] $text = '最近撑腰体爆红网络我是新增词再试一个'; class scws { public $so; function get_microtime() { list($usec, $sec) = explode(' ', microtime()); return ((float)$usec + (float)$sec); } function scws() { $this -> so = scws_new(); $this -> s...

336.XSFieldMeta::toConfig

... 转换后的配置文件字符串 源码: sdk/php/lib/XSFieldScheme.class.php#L452 (显示) public function toConfig(){ // type $str = "[" . $this->name . "]\n"; if ($this->type === self::TYPE_NUMERIC) { $str .= "type = numeric\n"; } elseif ($this->type === self::TYPE_DATE...

337.XSFieldMeta::fromConfig

...g array 原始配置属性数组 源码: sdk/php/lib/XSFieldScheme.class.php#L514 (显示) public function fromConfig($config){ // type & default setting if (isset($config['type'])) { $predef = 'self::TYPE_' . strtoupper($config['type']); if (defined($predef)) { ...

338.XSSearch::search

...ent[] 匹配的搜索结果文档列表 源码: sdk/php/lib/XSSearch.class.php#L572 (显示) public function search($query = null, $saveHighlight = true){ if ($this->_curDb !== self::LOG_DB && $saveHighlight) { $this->_highlight = $query; } $query = $query === null ? '' : $thi...

339.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 运行需求检查 ...

340.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...

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