搜索

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

81.XSUtil

...isset($_SERVER['argv']) ? $_SERVER['argv'] : array(); for ($i = 0; $i < count($params); $i++) { if ($params[$i] === '--') { for ($i = $i + 1; $i < count($params); $i++) { $result['-'][] = $params[$i]; } break; } elseif ($params[$i][0] ...

82.XS

... $conns[] = $conn; } } } if (count($conns) > 1) { shuffle($conns); } for ($i = 0; $i < count($conns); $i++) { try { $this->_search = new XSSearch($conns[$i], $this); $this->_search->setCha...

83.构建搜索语句

...3 字节),此规则同时适用于 > [XSSearch::search] 和 [XSSearch::count] 的 `$query` 参数。 搜索语句举例如下: ~~~ [php] $search->search('上海人民公园'); // 检索 body 型字段及混合区 $search->search('上海 人民公园'); // 用空格连接 2 个关键词, 这...

84.XSIndex::update

...is->appendBuffer(implode('', $cmds)); } else { for ($i = 0; $i < count($cmds) - 1; $i++) { $this->execCommand($cmds[$i]); } $this->execCommand($cmds[$i], XS_CMD_OK_RQST_FINISHED); } // after submit $doc->afterSubmit($this); return $this;} 更新索...

85.XSFieldScheme

...$field->vno = ($field->type == XSFieldMeta::TYPE_BODY) ? self::MIXED_VNO : count($this->_vnoMap); $this->_vnoMap[$field->vno] = $field->name; // save field, ensure ID is the first field if ($field->type == XSFieldMeta::TYPE_ID) { $this->_fields = array_merge(array($field->name => $fi...

86.Xunsearch SDK for PHP

...数据 - **one()**: 返回一行数据 - **all()**: 返回全部数据 - **count()**: 统计数据匹配数据,是估算的并不是完全准确 - **exists()**: 判断查询条件是否存在数据 - **where()**: 指定搜索条件 - **orderBy()**: 指定排序方式,默认为相关性排序 - *...

87.XSIndex

...ufSize > 0) { $this->appendBuffer(implode('', $cmds)); } elseif (count($cmds) == 1) { $this->execCommand($cmds[0], XS_CMD_OK_RQST_FINISHED); } else { $cmd = array('cmd' => XS_CMD_INDEX_EXDATA, 'buf' => implode('', $cmds)); $this->execCommand($cmd, XS_CMD_OK_RQST_FIN...

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