...ng 异常的简要描述信息 源码: sdk/php/lib/XS.class.php#L67 (显示) public function __toString(){ $string = '[' . __CLASS__ . '] ' . $this->getRelPath($this->getFile()) . '(' . $this->getLine() . '): '; $string .= $this->getMessage() . ($this->getCode() > 0 ? '(S#' . $this->get...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L98 (显示) public function setCutOff($percent, $weight = 0){ $percent = max(0, min(100, intval($percent))); $weight = max(0, (intval($weight * 10) & 255)); $cmd = new XSCommand(XS_CMD_SEARCH_SET_CUTOFF, $percent, $weight...
... public void close() 源码: sdk/php/util/XSDataSource.class.php#L709 (显示) public function close(){ if ($this->link) { sqlite_close($this->link); $this->link = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array ...
... public void close() 源码: sdk/php/util/XSDataSource.class.php#L569 (显示) public function close(){ if (is_resource($this->link)) { pg_close($this->link); $this->link = null; }} 关闭数据库连接 connect() 方法 public void connect($param) $param ...
建了个demo项目,搜索的时候显示: 错误:Object id #9 打印出search.php捕获到的异常,显示 [XSException] ../../../../../usr/local/xunsearch/sdk/php/lib/XS.php(2165): Failed to recv the data from server completely (SIZE:0/8, REASON:closed) #0 /usr/local/xunsearch/sdk/ph...
... public void close() 源码: sdk/php/util/XSDataSource.class.php#L768 (显示) public function close(){ if ($this->obj) { $this->obj->close(); $this->obj = null; }} 关闭数据库 connect() 方法 public void connect(array $param) $param array 连接...
...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L461 (显示) public function setLimit($limit, $offset = 0){ $this->_limit = intval($limit); $this->_offset = intval($offset); return $this;} 设置搜索结果的数量和偏移 用于搜索结果分页, 每次调用 ...
...o/scws/v48.php[/url] 在我服务器测试时候,分词结果与你上面显示的分词结果完全不对 请问是什么原因? [[i] 本帖最后由 amyding 于 2008-8-21 11:39 编辑 [/i]]
...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L46 (显示) public function getTokens($value, XSDocument $doc = null){ return array();}
...ue $doc 源码: sdk/php/lib/XSTokenizer.class.php#L62 (显示) public function getTokens($value, XSDocument $doc = null){ return array($value);}