搜索

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

1.XSFieldScheme::getFieldId

...) public function getFieldId(){ if (isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { $name = $this->_typeMap[XSFieldMeta::TYPE_ID]; return $this->_fields[$name]; } return false;} 获取主键字段元数据

2.请问如何在指定的类别上进行搜索?

发布时间:2014-06-13 15:06 t By yj021

...问如何在指定的类别上进行搜索,索引中存在新闻分类的type_id,我只想在 type_id=5 的集合中进行搜索,请问搜索条件怎么写? 还有,我发现个问题哈,感觉排序有问题,排序的结果是 先把记录按设置的条件查找到,然后在查...

3.XSFieldMeta::toConfig

...DATE) { $str .= "type = date\n"; } elseif ($this->type === self::TYPE_ID) { $str .= "type = id\n"; } elseif ($this->type === self::TYPE_TITLE) { $str .= "type = title\n"; } elseif ($this->type === self::TYPE_BODY) { $str .= "type = body\n"; } // index if...

4.XSFieldMeta::fromConfig

... $this->type = constant($predef); if ($this->type == self::TYPE_ID) { $this->flag = self::FLAG_INDEX_SELF; $this->tokenizer = 'full'; } elseif ($this->type == self::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_...

5.RE: 请问如何在指定的类别上进行搜索?

发布时间:2014-07-02 19:07 t By aamper@yeah.net

$search->search('type_id:5')

6.XSFieldMeta::isSpeical

...367 (显示) public function isSpeical(){ return ($this->type == self::TYPE_ID || $this->type == self::TYPE_TITLE || $this->type == self::TYPE_BODY);} 判断当前字段是否为特殊类型 特殊类型的字段是指 id, title, body, 每个项目至多只能有一个这种类型的字段

7.XSFieldScheme::checkValid

...ion checkValid($throw = false){ if (!isset($this->_typeMap[XSFieldMeta::TYPE_ID])) { if ($throw) { throw new XSException('Missing field of type ID'); } return false; } return true;} 判断该字段方案是否有效、可用 每个方案必须并且只能...

8.XSFieldMeta

... $this->type = constant($predef); if ($this->type == self::TYPE_ID) { $this->flag = self::FLAG_INDEX_SELF; $this->tokenizer = 'full'; } elseif ($this->type == self::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_...

9.XSFieldScheme

...ve field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field->name => $field), $this->_fields); } else { $this->_fields[$field->name] = $field; }} 添加字段到方案中 每个方案中的特殊类型字段...

10.XSFieldScheme::addField

...ve field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field->name => $field), $this->_fields); } else { $this->_fields[$field->name] = $field; }} 添加字段到方案中 每个方案中的特殊类型字段...

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