... if (!class_exists($name)) { throw new XSException('Undefined custom tokenizer `' . $this->tokenizer . '\' for field `' . $this->name . '\''); } } $obj = $arg === null ? new $name : new $name($arg); if (!$obj instanceof XSTokenizer) { ...
...DataSource'; if (!class_exists($class)) { throw new XSException("Undefined data source type: `$type2'"); } return new $class($type, $arg);} 取得数据源对象实例
...eturn $this->_meta[$name]; } } throw new XSException('Call to undefined method `' . get_class($this) . '::' . $name . '()\'');} 魔术方法 __call 实现以函数调用访问搜索结果元数据, 支持: docid, rank, percent, weight, ccount __construct() 方法 public vo...