Download the PHP package ride/app-orm-elastic without Composer
On this page you can find all versions of the php package ride/app-orm-elastic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ride/app-orm-elastic
More information about ride/app-orm-elastic
Files in ride/app-orm-elastic
Package app-orm-elastic
Short Description Elastic search integration for the Ride ORM.
License MIT
Informations about the package app-orm-elastic
Ride: ORM Elastic
This module will integrate Elasticsearch into the ORM.
To enable Elastic on your model, add the behaviour.elastic property to your model options. Set it to the index/type of your data in the Elasticsearch server eg. geo/locations.
When this behaviour is enabled, a method getElasticDocument will be generated in your entry class. This method will make the conversion between the ORM and Elastic.
The mapping to Elastic is based on your model definition. You can skip fields by adding the elastic.omit option to the field.
You will need the Elastic ORM commands for the CLI to define the mapping and to index existing records. Whenever a manipulation is done (insert, update or delete), the index is automatically updated.
Note: when you enable the json API, you can add the elastic filter to add search through Elastic.
Related Modules
- ride/app
- ride/app-elastic
- ride/app-orm
- ride/cli-orm-elastic
- ride/lib-event
- ride/lib-generator
- ride/lib-orm
Installation
You can use Composer to install this application.
All versions of app-orm-elastic with dependencies
ride/app-orm Version ^1.0.0
ride/app-elastic Version ^1.0.0
ride/lib-event Version ^1.0.0
ride/lib-generator Version ^1.0.0
ride/lib-orm Version ^1.0.0