Elasticsearch for Eloquent Laravel Models. Elasticquent makes working with Elasticsearch and Eloquent models easier by mapping them to Elasticsearch types. You can use the default settings or define how Elasticsearch should index and search your Eloquent models right in the model. Elasticquent uses the official Elasticsearch PHP API. To get started, you should have a basic knowledge of how Elasticsearch works (indexes, types, mappings, etc). When using a database, Eloquent models are populated from data read from a database table. With Elasticquent, models are populated by data indexed in Elasticsearch. The whole idea behind using Elasticsearch for search is that its fast and light, so you model functionality will be dictated by what data has been indexed for your document.
Features
- Before you start using Elasticquent, make sure you've installed Elasticsearch
- Documentation available
- Elasticsearch Configuration
- Indexes and Mapping
- Set a Custom Index Name
- Query Based Search
- Use the Search Collection Outside of Elasticquent