...::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_WITH_POSITION; $this->weight = 5; } elseif ($this->type == self::TYPE_BODY) { $this->vno = XSFieldScheme::MIXED_VNO; $this->flag = self::FLAG_INDEX_SELF | self::FLA...
...p#L335 (显示) public function withPos(){ return ($this->flag & self::FLAG_WITH_POSITION) ? true : false;} 判断当前字段索引是否支持短语搜索
...::TYPE_TITLE) { $this->flag = self::FLAG_INDEX_BOTH | self::FLAG_WITH_POSITION; $this->weight = 5; } elseif ($this->type == self::TYPE_BODY) { $this->vno = XSFieldScheme::MIXED_VNO; $this->flag = self::FLAG_INDEX_SELF | self::FLA...
...t = " . $this->weight . "\n"; } // phrase if ($this->flag & self::FLAG_WITH_POSITION) { if ($this->type !== self::TYPE_BODY && $this->type !== self::TYPE_TITLE) { $str .= "phrase = yes\n"; } } else { if ($this->type === self::TYPE_BODY || $this->type === s...