搜索

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

11.XSFieldMeta::fromConfig

... $this->flag = self::FLAG_INDEX_SELF; $this->tokenizer = 'full'; } elseif ($this->type == self::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_WITH_POSITION; $this->weight = 5; } elseif ($this->type == ...

12.XSFieldMeta::hasCustomTokenizer

hasCustomTokenizer() 方法 public bool hasCustomTokenizer() {return} bool 是返回 true, 不是返回 false 源码: sdk/php/lib/XSFieldScheme.class.php#L403 (显示) public function hasCustomTokenizer(){ return ($this->tokenizer !== XSTokenizer::DFL);} 判断当前字段...

13.XSTokenizerScws

XSTokenizerScws All Packages | 方法(函数) 包 XS.tokenizer 继承关系 class XSTokenizerScws 实现接口 XSTokenizer 始于 1.3.1 版本 1.0.0 源代码 sdk/php/lib/XSTokenizer.class.php SCWS - 分词器(与搜索服务端通讯) Public ...

14.XSFieldMeta::toConfig

... $str .= "index = self\n"; } } } // tokenizer if ($this->type !== self::TYPE_ID && $this->tokenizer !== XSTokenizer::DFL) { $str .= "tokenizer = " . $this->tokenizer . "\n"; } // cutlen if ($this->cutlen > 0 && !($this->cutlen === 300 && $thi...

15.XSFieldMeta::isBoolIndex

..._BOOL) { return false; } return (!$this->hasIndex() || $this->tokenizer !== XSTokenizer::DFL);} 判断当前字段的索引是否为布尔型 目前只有内置分词器支持语法型索引, 自 1.0.1 版本起把非索引字段也视为布尔便于判断

16.Hightman 你好,我在编译scws时出现了问题

更新时间:2009-05-06 09:05 t By crackx

...nion ../../storage/myisam/myisamdef.h:304: error: syntax error before '}' token ../../storage/myisam/myisamdef.h:570: error: syntax error before '*' token ../../storage/myisam/myisamdef.h:759: error: syntax error before "MYISAM_SHARE" ../../storage/myisam/myisamdef.h:762: error: syntax error bef...

17.XSIndex

... $value = $field->val($value); if (!$field->hasCustomTokenizer()) { // internal tokenizer $wdf = $field->weight | ($field->withPos() ? XS_CMD_INDEX_FLAG_WITHPOS : 0); if ($field->hasIndexMixed()) { $cmds[] = new XS...

18.XSIndex::update

... $value = $field->val($value); if (!$field->hasCustomTokenizer()) { // internal tokenizer $wdf = $field->weight | ($field->withPos() ? XS_CMD_INDEX_FLAG_WITHPOS : 0); if ($field->hasIndexMixed()) { $cmds[] = new XS...

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