ElasticSearch
最后更新于:2022-04-01 03:59:58
# Elasticsearch Extension for Yii 2
This extension provides the [elasticsearch](https://www.elastic.co/products/elasticsearch) integration for the Yii2 framework. It includes basic querying/search support and also implements the `ActiveRecord` pattern that allows you to store active records in elasticsearch.
## [](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/README.md#getting-started)Getting Started
* [Installation](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/installation.md)
## [](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/README.md#usage)Usage
* [Using the Query](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/usage-query.md)
* [Using the ActiveRecord](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/usage-ar.md)
## [](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/README.md#additional-topics)Additional topics
* [Using the elasticsearch DebugPanel](https://github.com/yiisoft/yii2-elasticsearch/blob/master/docs/guide/topics-debug.md)
* Relation definitions with records whose primary keys are not part of attributes
* Fetching records from different indexes/types