搜索

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

31.XSIndex::setDb

setDb() 方法 public XSIndex setDb(string $name) $name string 数据库名称 {return} XSIndex 返回自身对象以支持串接操作 源码: sdk/php/lib/XSIndex.class.php#L439 (显示) public function setDb($name){ $this->execCommand(array('cmd' => XS_CMD_INDEX_SET_...

32.搜索框提示怎么做?

发布时间:2013-06-02 05:06 t By angelandy

... 我有3个字段要做这样的搜索 配置是这样的: project.name = city [ID] type = id tokenizer = none [name] index = self tokenizer = xstep(1) cutlen = 15 phrase = yes [name_sc] index = self cutlen = 15 weight = 4 phrase = yes [name_tc] index = self cutlen = ...

33.XSDocument::__set

__set() 方法 public void __set(string $name, mixed $value) $name string 字段名称 $value mixed 字段值 源码: sdk/php/lib/XSDocument.class.php#L93 (显示) public function __set($name, $value){ if ($this->_meta !== null) { throw new XSException('Magick p...

34.SQL语句里 group by 带来的问题

发布时间:2014-05-20 15:05 t By xiao6ye

...rce=mysql://root:@localhost/shop --sql="select g.goods_id,g.cat_id,g.goods_name,g.en_goods_name,g.goods_short_name,g.en_goods_short_name,g.brand_id,g.shop_price,g.goods_brief,g.en_goods_brief,g.goods_img,CONCAT(ga.attr_id,'_',ga.attr_value) as attr_value from fp_goods as g left join fp_goods_attr as...

35.addWeight提权的问题 提不上去

更新时间:2013-08-22 13:08 t By beike228

//执行语句 $gSearch->setFuzzy()->setQuery($name)->addWeight('ranking','1')->setLimit($gNum,$startPage)->search(); //执行结果 Xapian::Query((疯:(pos=1) AND_MAYBE GD1))[hr] //输出结果 [0] => XSDocument Object ( [_data:XSDocument:private] => Array ...

36.XSDocument 文档

...下标方式访问文档字段。 ~~~ [php] $doc = new XSDocument; $doc->name = 'value'; // 用对象属性方式进行赋值、取值 $doc['name'] = 'value'; // 用数组下标方式进行赋值、取值 $value = $doc->f('name'); // 用函数方式进行取值 $doc->setField('name', 'value'); // ...

37.VS2012编译失败,求教

更新时间:2013-04-26 14:04 t By tzyux

... 1>f:\mypj\scws\libscws\xdict.c(100): warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details. 1> f:\program files (x86)\microsoft visual studio 11.0\vc\include\direct.h(130) : 参见“getcwd”的...

38.XSFieldScheme::getFieldTitle

...Title(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_TITLE])) { $name = $this->_typeMap[XSFieldMeta::TYPE_TITLE]; return $this->_fields[$name]; } foreach ($this->_fields as $name => $field) { if ($field->type === XSFieldMeta::TYPE_STRING && !$field->isBoolIndex()) { ...

39.XSSearch::search

...', $res->buf); $this->_lastCount = $tmp['count']; // load vno map to name of fields $ret = $this->_facets = array(); $vnoes = $this->xs->getScheme()->getVnoMap(); // get result documents while (true) { $res = $this->getRespond(); if ($res->cmd == XS_CMD_SEARCH_RESULT_...

40.XSFieldMeta

...为 0表示不截取, body 型字段默认为 300 字节 XSFieldMeta name string 字段名称 理论上支持各种可视字符, 推荐字符范围:[0-9A-Za-z-_], 长度控制在 1~32 字节为宜 XSFieldMeta type int 字段类型 XSFieldMeta vno int 字段序号 取值...

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