搜索

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

31.XSServer::read

...or zero size if ($len == 0) { return ''; } // loop to send data $this->check(); for ($buf = '', $size = $len;;) { $bytes = fread($this->_sock, $len); if ($bytes === false || strlen($bytes) == 0) { break; } $len -= strlen($bytes); $b...

32.能否提供个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 function filterHtml($str) ...

33.老大看看 做词典的时候总是 报 发现不了 tf idf 等

发布时间:2010-03-15 11:03 t By sblig

... $flag = (isset($v['tf']) ? 0x01 : 0); if ($part) $flag |= 0x02; $data = pack('ffCa3', $v['tf'], $v['idf'], $flag, $v['attr']); $xdb->Put($w, $data); $cnt++; } printf("%d Records saved.\n", $cnt); } [color=#FF0000]改后[/color] for ($k = 0; $k < 0x40; $k++) { if (!isset($...

34.XSDataFilter

XSDataFilter All Packages | 方法(函数) 包 XS.util 继承关系 interface XSDataFilter 子类 XSDebugFilter 始于 1.1.0 源代码 sdk/php/util/XSDataSource.class.php 数据过滤器的接口 以便在提交到索引前有一个修改和调整数据的...

35.XSServer::write

... $size = strlen($buf)) == 0) { return true; } // loop to send data $this->check(); while (true) { $bytes = fwrite($this->_sock, $buf, $len); if ($bytes === false || $bytes === 0 || $bytes === $len) { break; } $len -= $bytes; $buf = sub...

36.索引导入一直在排队……

发布时间:2014-09-02 00:09 t By tmmkkk

...ZE:80, EFF_SIZE:80) 2014-09-01 10:51:06 indexd[17233] NOTICE commit index data (DB:c_books.db, COUNT:984) 11:16:10 import[17312] ALERT finished (ADD:984, UPDATE:0, DELETE:0[0], SYNONYMS:0, PROC_TOTAL:984, DB_TOTAL:984, TIME:25'02") 2014-09-01 11:16:10 indexd[17233] NOTICE import exit (DB:c_books....

37.怎么创建词库啊?

发布时间:2013-01-09 18:01 t By pingrj

...如下那么创建吧,而且这个创建了是存到那里了呢? $data = array( 'pid' => 234, // 此字段为主键,必须指定 'subject' => '测试文档的标题', 'message' => '测试文档的内容部分', 'chrono' => time() ); // 创建文档对象 $doc = ne...

38.清空索引报错

发布时间:2014-08-20 15:08 t By aksky

Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS PHP Fatal error: Uncaught [XSException] data/api/xs/lib/XS.php(819): Missing field of type ID thrown in /xxxxx/data/api/xs/lib/XS.php on line 819 帮忙看下 谢谢

39.RE: 平滑重建索引问题

发布时间:2012-02-10 10:02 t By hpxl

...作,然后执行add操作,update也可以的 $index->beginRebuild(); $data = array(); $doc = new XSDocument; $doc->setFileds($data); $index->add($doc); // 这里是结束 $index->endRebuild();

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

发布时间:2012-11-27 19:11 t By chinapubmed

...在文档中定义的过滤器, 即: class XSXyzFilter implements XSDataFilter { public function process($data, $cs) { print_r($data); return $data; } } 仍然不行,哎!

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