PHPackages                             swallsky/elasticsearch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. swallsky/elasticsearch

ActiveLibrary[Search &amp; Filtering](/categories/search)

swallsky/elasticsearch
======================

16PHP

Since Jan 24Pushed 8y agoCompare

[ Source](https://github.com/swallsky/elasticsearch)[ Packagist](https://packagist.org/packages/swallsky/elasticsearch)[ RSS](/packages/swallsky-elasticsearch/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ElasticSearch
=============

[](#elasticsearch)

> elasticsearch简介

- Elasticsearch 是一个分布式、可扩展、实时的搜索与数据分析引擎。 它能从项目一开始就赋予你的数据以搜索、分析和探索的能力，这是通常没有预料到的。 它存在还因为原始数据如果只是躺在磁盘里面根本就毫无用处。
- 无论你是需要全文搜索，还是结构化数据的实时统计，或者两者结合，这本指南都能帮助你了解其中最基本的概念， 从最基本的操作开始学习 Elasticsearch。之后，我们还会逐渐开始探索更加高级的搜索技术，不断提升搜索体验来满足你的用户需求。
- Elasticsearch 不仅仅只是全文搜索，我们还将介绍结构化搜索、数据分析、复杂的语言处理、地理位置和对象间关联关系等。 我们还将探讨如何给数据建模来充分利用 Elasticsearch 的水平伸缩性，以及在生产环境中如何配置和监视你的集群。

> elasticsearch安装及教程

- [官网](https://www.elastic.co/cn/)
- [下载](https://www.elastic.co/downloads/elasticsearch)
- [权威指南](https://www.elastic.co/guide/cn/elasticsearch/guide/current/index.html)

大数据基础
-----

[](#大数据基础)

> ElasticSearch是大数据搜索的基础，掌握了ElasticSearch，就已经迈入了大数据殿堂。

方便开发者使用ElasticSearch
--------------------

[](#方便开发者使用elasticsearch)

> 虽然ElasticSearch入门并不难，但是不免有很多坑要踩，作者只为了更方便的使用ElasticSearch，和更好的理解ElasticSearch。

运行要求
----

[](#运行要求)

- JDK &gt;= 1.8.0
- MAVEN
- PHP &gt;= 7.0.0
- JAVA\_HOME环境变量设置

使用方法
----

[](#使用方法)

请查看本包tests中，测试程序，通过第三个参数直接调用测试方法 复制config/es.simple.php文件到项目根目录中，放入config文件夹中,修改相应的参数

```
php index.php add #添加索引
php index.php del #删除索引
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3714044b599781b5d8dd8e44e5d9664967aed2d8a6c50f788bcfa7f5dbf96b5b?d=identicon)[ybluesky](/maintainers/ybluesky)

---

Top Contributors

[![swallsky](https://avatars.githubusercontent.com/u/9989005?v=4)](https://github.com/swallsky "swallsky (6 commits)")

### Embed Badge

![Health badge](/badges/swallsky-elasticsearch/health.svg)

```
[![Health](https://phpackages.com/badges/swallsky-elasticsearch/health.svg)](https://phpackages.com/packages/swallsky-elasticsearch)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M202](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
