略微加速
PHP官方手册 - 互联网笔记
首页
IT
PHP手册
Elasticsearch
SVN手册
互联网
博客
登陆
注册
PHP - Manual: Sphinx
2026-03-24
简介 »
« SolrMissingMandatoryParameterException
PHP 手册
函数参考
搜索引擎扩展
Sphinx 客户端
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
SphinxClient
— SphinxClient 类
SphinxClient::addQuery
— Add query to multi-query batch
SphinxClient::buildExcerpts
— Build text snippets
SphinxClient::buildKeywords
— Extract keywords from query
SphinxClient::close
— 关闭先前打开的持久连接
SphinxClient::__construct
— Create a new SphinxClient object
SphinxClient::escapeString
— Escape special characters
SphinxClient::getLastError
— Get the last error message
SphinxClient::getLastWarning
— Get the last warning
SphinxClient::open
— 建立到搜索服务端的持久连接
SphinxClient::query
— 执行搜索查询
SphinxClient::resetFilters
— Clear all filters
SphinxClient::resetGroupBy
— Clear all group-by settings
SphinxClient::runQueries
— Run a batch of search queries
SphinxClient::setArrayResult
— 控制搜索结果集的返回格式
SphinxClient::setConnectTimeout
— Set connection timeout
SphinxClient::setFieldWeights
— Set field weights
SphinxClient::setFilter
— 增加整数值过滤器
SphinxClient::setFilterFloatRange
— Add new float range filter
SphinxClient::setFilterRange
— Add new integer range filter
SphinxClient::setGeoAnchor
— Set anchor point for a geosphere distance calculations
SphinxClient::setGroupBy
— Set grouping attribute
SphinxClient::setGroupDistinct
— Set attribute name for per-group distinct values count calculations
SphinxClient::setIDRange
— Set a range of accepted document IDs
SphinxClient::setIndexWeights
— Set per-index weights
SphinxClient::setLimits
— 设置返回结果集偏移量和数目
SphinxClient::setMatchMode
— 设置全文查询的匹配模式
SphinxClient::setMaxQueryTime
— Set maximum query time
SphinxClient::setOverride
— Sets temporary per-document attribute value overrides
SphinxClient::setRankingMode
— Set ranking mode
SphinxClient::setRetries
— Set retry count and delay
SphinxClient::setSelect
— Set select clause
SphinxClient::setServer
— 设置searchd的主机名和TCP端口
SphinxClient::setSortMode
— Set matches sorting mode
SphinxClient::status
— Queries searchd status
SphinxClient::updateAttributes
— Update document attributes
add a note
User Contributed Notes
There are no user contributed notes for this page.
官方地址:
https://www.php.net/manual/en/book.sphinx.php
有任何技术问题请点击这里
网站运营推广招聘
IT
PHP
编程语言
开发编程
Linux
科技
Elasticsearch
HTML/CSS/XML
数据库
面试
网络
JAVA
NoSQL
C/C++
操作系统
Golang
Git
算法
正则表达式
Redis
互联网
MySql
软件
运维
JavaScript
国际
架构设计
Mac OS
TCP/IP
Excel
Windows
Oracle
Socket
VR
Vim
商业
MongoDB
运营
Python
MemCache
硬件
电子
娱乐
设计
摄影
nginx
游戏
WordPress
HTTP
团建
数码电器
Docker
大模型
广告
广告
mysql8切换用户密码验证方式 sha256_password警告
php7.3 使用 PDO_DM 扩展连接 DM8 中文乱码
laravel查看orm生成的sql
使用PHPWord将docx文件转换为html格式
PhpStorm中PHP注释的规范指南
docker-compose启动nginx与php-fpm
PHPStorm ESC 会退出命令行
composer install参数
laravel orm中DB::insert方法导致内存泄漏的问题解决方法
php7 安装fileinfo扩展
利用php soap实现web service
Composer的Packagist资源
cURL 函数
adodb连接mysql多个数据库的问题
两千行PHP学习笔记
支持php7的性能采集扩展
php xml formatOuput无效的解决办法
常用的php ADODB使用方法集锦
ADOConnection 公用函数
php字符串编码转换
联系我们
半月雨文化
可降解耗材网
蓝云环保
工程造价
LitBuySpreadsheet
AcbuySpreadsheet
超链博客
seo查询
北京半月雨文化科技有限公司
.版权所有
京ICP备12026184号-3