...参考呗 [/quote] 这个搞定了,但是索引也导入了, 但是 util/Quest.php .... filiname:xxxx 却搜索不到数据 但是用util/Quest.php .... ID:2 就能找到相应的数据 filename就是 xxxx ID是主键 filename type=title ini的内容为: project.name = .... project.d...
...参考呗 [/quote] 这个搞定了,但是索引也导入了, 但是 util/Quest.php .... filiname:xxxx 却搜索不到数据 但是用util/Quest.php .... ID:2 就能找到相应的数据 filename就是 xxxx ID是主键 filename type=title ini的内容为: project.name = .... project.d...
...参考呗 [/quote] 这个搞定了,但是索引也导入了, 但是 util/Quest.php .... filiname:xxxx 却搜索不到数据 但是用util/Quest.php .... ID:2 就能找到相应的数据 filename就是 xxxx ID是主键 filename type=title ini的内容为: project.name = .... project.d...
...search 安装目录, 而 $project 为您的搜索项目 $prefix/sdk/php/util/Indexer.php $project -d log_db --clean $prefix/sdk/php/util/Indexer.php $project --flush-log 官方网站:[url]http://www.xunsearch.com/[/url] 下载地址:[url]http://www.xunsearch.com/download/xunsearch-full-l...
deinit() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}
init() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L384 (显示) protected function deinit(){ if ($this->fd) { fclose($this->fd); $this->fd = null; }}
...(XSDocument $doc) $doc XSDocument 索引文档 源码: sdk/php/util/XSDataSource.class.php#L977 (显示) public function processDoc($doc); 索引文档处理函数 在此通过 XSDocument::addIndex 或 XSDocument::addTerm 做索引相关调整
deinit() 方法 protected void deinit() 源码: sdk/php/util/XSDataSource.class.php#L104 (显示) protected function deinit(){ } 执行数据提取完毕后的清理工作 将自动在没有更多数据供提取时调用此函数, 请在具体的数据源重载此函数
getCharset() 方法 public string getCharset() {return} string 字符集名称 源码: sdk/php/util/XSDataSource.class.php#L86 (显示) public function getCharset(){ return false;} 取得数据源的准确字符集 如不能确定字符集, 请直接返回 false
... protected array getDataList() {return} array 源码: sdk/php/util/XSDataSource.class.php#L114 (显示) protected function getDataList(){ return false;} 从数据源中提取若干条数据 必须在数据源中定义此函数, 返回值必须是各条数据的数组