搜索

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

11.XS::getIndex

...法 public XSIndex getIndex() {return} XSIndex 索引操作对象 源码: sdk/php/lib/XS.class.php#L406 (显示) public function getIndex(){ if ($this->_index === null) { $adds = array(); $conn = isset($this->_config['server.index']) ? $this->_config['server.index...

12.RE: 获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-27 20:08 t By xiaofeng

可能是你没有开启监听服务,你先查下 8383或者8384 端口的状态(查询命令: netstat -an |grep 8383),如果没有输出信息,你可以试着对照你本机环境运行下面的命令(先切换到你本机xunsearch的安装目录下): bin/xs-ctl.sh -b local start...

13.XS::getSearch

... public XSSearch getSearch() {return} XSSearch 搜索操作对象 源码: sdk/php/lib/XS.class.php#L431 (显示) public function getSearch(){ if ($this->_search === null) { $conns = array(); if (!isset($this->_config['server.search'])) { $conns[] = 8384...

14.求助啊啊啊啊啊~~~同义词问题

更新时间:2014-04-22 09:04 t By zhouaini528

...测试部行啊 附上代码: [php] $xs = new XS('demo'); // 建立 XS 对象,项目名称为:demo $search=$xs->search; $search->setAutoSynonyms(true); $index->addSynonym('搜索','检索'); $index->addSynonym('搜索','查找'); [/php] 然后查看是否成功 [php] $xs = new XS('demo'); //...

15.设置编码为gbk失效

发布时间:2012-07-12 11:07 t By 小乌龟

...al/xunsearch/sdk/php/lib/XS.php'; $xs = new XS('allsource'); // 建立 XS 对象,项目名称为:demo $search = $xs->search; // 获取 搜索对象 $query = '部分'; // 这里的搜索语句很简单,就一个短语 $search->setQuery($query); // 设置搜索语句 $search->addWeight('t...

16.XS::getLastXS

getLastXS() 方法 public static XS getLastXS() {return} XS 最近创建的 XS 对象 源码: sdk/php/lib/XS.class.php#L314 (显示) public static function getLastXS(){ return self::$_lastXS;} 获取最新的 XS 实例

17.获取索引对象就报错supplied argument is not a valid stream resource

更新时间:2012-08-09 17:08 t By blueo

XS Object ( [_index:private] => [_search:private] => [_scws:private] => [_scheme:private] => XSFieldScheme Object ( [_fields:private] => Array ( [newsid] => XSFieldMeta Object ( [name] => newsid [cutlen] => 0 [weight] => 1 [type] => 10 [vno] => 0 [tokenizer:private] => full [flag:private] => 1 )...

18.XSException 异常

...g] 对出错信息作了简要的美化和修饰,您可以直接输出该对象, 如需要查看堆栈追踪,通过继承来的 [XSException::getTraceAsString] 即可。 > note: 在系统内部将所有的错误处理也转换成为抛出 [XSErrorException] 对象,而 `XSErrorException` > ...

19.XSServer.xs

xs 属性 public XS $xs; 服务端关联的 XS 对象

20.XSIndex

...获取连接资源描述符 XSServer xs XS 服务端关联的 XS 对象 XSServer Protected 属性 隐去继承来的属性 名称类型描述定义于 _conn XSServer _flag XSServer _project XSServer _sendBuffer XSServer...

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