搜索

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

351.XSSearch::getAllSynonyms

...条组成的数组为值 源码: sdk/php/lib/XSSearch.class.php#L164 (显示) public function getAllSynonyms($limit = 0, $offset = 0, $stemmed = false){ $page = $limit > 0 ? pack('II', intval($offset), intval($limit)) : ''; $cmd = array('cmd' => XS_CMD_SEARCH_GET_SYNONYMS, 'buf1' => $page...

352.XSSearch::getCorrectedQuery

...搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L795 (显示) public function getCorrectedQuery($query = null){ $ret = array(); try { if ($query === null) { if ($this->_count > 0 && $this->_count > ceil($this->getDbTotal() * 0.001)) { retur...

353.XSSearch::addQueryTerm

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L968 (显示) public function addQueryTerm($field, $term, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $term = strtolower($term); $term = XS::convert($term, 'UTF-8', $this->_charset); $bscale = ($scale > 0 && $scale != 1) ? ...

354.XSSearch::addQueryString

... 修正后的搜索语句 源码: sdk/php/lib/XSSearch.class.php#L949 (显示) public function addQueryString($query, $addOp = XS_CMD_QUERY_OP_AND, $scale = 1){ $query = $this->preQueryString($query); $bscale = ($scale > 0 && $scale != 1) ? pack('n', intval($scale * 100)) : ''; $cmd = ...

355.XSSearch::setFacets

...身以支持串接操作 源码: sdk/php/lib/XSSearch.class.php#L401 (显示) public function setFacets($field, $exact = false){ $buf = ''; if (!is_array($field)) { $field = array($field); } foreach ($field as $name) { $ff = $this->xs->getField($name); if ($ff->...

356.XSTokenizerScws::__construct

...数,默认不指定 源码: sdk/php/lib/XSTokenizer.class.php#L188 (显示) public function __construct($arg = null){ if (self::$_server === null) { $xs = XS::getLastXS(); if ($xs === null) { throw new XSException('An XS instance should be created before using ' . ...

357.RE: 存到索引里的时间成这样子的了1.27883e+09,怎么让他变成原来的纯数字的

发布时间:2011-11-15 17:11 t By mengfanchao

我晕,要不影响我提问干吗。我用 date 格式化它,显示的是 1970什么的。

358.XS::convert

...n} mixed 转换后的数据 源码: sdk/php/lib/XS.class.php#L550 (显示) public static function convert($data, $to, $from){ // need not convert if ($to == $from) { return $data; } // array traverse if (is_array($data)) { foreach ($data as $key => $value) { ...

359.求救PSCWS4问题

发布时间:2010-07-21 10:07 t By FG2008

...''; } flush(); } $pscws->close(); ?>[/php] 网页上的显示结果却是: 航天=>nr ?员庽>nr ?员=>nr

360.XSSearch::getRelatedQuery

...搜索词组成的数组 源码: sdk/php/lib/XSSearch.class.php#L707 (显示) public function getRelatedQuery($query = null, $limit = 6){ $ret = array(); $limit = max(1, min(20, intval($limit))); // Simple to disable query with field filter if ($query === null) { $query = $th...

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