elastic/enterprise-search
Composer 安装命令:
composer require elastic/enterprise-search
包简介
Enterprise Search official PHP client
README 文档
README
Warning
Enterprise Search will be discontinued in 9.0.
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
Here are some useful links with more information:
- Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
- Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
A first-party PHP client to interface with Elastic Enterpise Search including Elastic App Search and Elastic Workplace Search.
Installation
The package can be installed using composer:
composer require elastic/enterprise-search
The version follows the Elastic Stack version so 8.0 is compatible
with Enterprise Search released in Elastic Stack 8.0.
PSR-18 HTTP library
This project uses elastic-transport-php as HTTP library. This is a component that abstracts
the usage of any PSR-18 client libraries. It uses the autodiscovery feature of HTTPlug
to find a compliant library already installed in your vendor. If you receive an error like
No PSR-18 clients found this means you don't have any PSR-18 library installed.
We suggest to use Guzzle v7+ as HTTP library.
You can require it using composer:
composer require guzzlehttp/guzzle
If you want to be sure to use a specific HTTP library you need to pass it in the Client
constructor, as follows:
use Elastic\EnterpriseSearch\Client; $client = new Client([ 'client' => new GuzzleHttp\Client, // ... ]);
Guzzle v6
If you want to use Guzzle v6, you need to add the php-http/guzzle6-adapter as composer requirement.
Documentation
See the documentation for how to get started, compatibility info, configuring, and an API reference.
Contributing
If you'd like to make a contribution to enterprise-search-php we
provide contributing documentation
to ensure your first contribution goes smoothly.
License
enterprise-search-php is available under the MIT license.
For more details see LICENSE.
elastic/enterprise-search 适用场景与选型建议
elastic/enterprise-search 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 658.39k 次下载、GitHub Stars 达 25, 最近一次更新时间为 2021 年 03 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「client」 「search」 「elastic」 「enterprise」 「workplace」 「enterprisesearch」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 elastic/enterprise-search 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 elastic/enterprise-search 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 elastic/enterprise-search 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel package to retrieve data from Google Search Console
This package includes a script and fail2ban configuration that allows you to use fail2ban when utilizing AWS elastic load balancer (ELB) and an apache webserver.
Indexed Search Autocomplete - Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.
Elastic Driver for Laravel Scout
Abstraction Layer to index and search entities
Package for send emails with attachments via elastic email driver
统计信息
- 总下载量: 658.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 19
- 依赖项目数: 9
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2021-03-11