open20 / amos-elasticsearch
There is no license information available for the latest version (2.2.0) of this package.
Amos Elasticsearch
Package info
github.com/regionelombardia-open20/open2-elasticsearch
Type:component
pkg:composer/open20/amos-elasticsearch
2.2.0
2024-11-11 14:20 UTC
Requires
- php: >=5.4.0
- elasticsearch/elasticsearch: ^6.0
- fabpot/goutte: ^3.1.0 ||^4.0.3
- jakeasmith/http_build_url: ~1.0.0
- nadar/stemming: ~1.0.0
- open20/amos-core: ^1.20
- phpoffice/phpspreadsheet: *
- smalot/pdfparser: *
- tinybutstrong/opentbs: *
This package is not auto-updated.
Last update: 2026-03-03 18:55:30 UTC
README
Plugin description
Installation
Add module to your main config in backend:
<?php 'modules' => [ 'elasticsearch' => [ 'class' => '\open20\elasticsearch\Module', 'modelMap' => [ 'ElasticModelSearch' => 'common\modules\transformermanagers\ElasticModelSearch', ], 'hosts' => ['http://localhost:9201', ], 'modelsEnabled' => [ /** * Add here the classnames of the models where you want the elasticsearch => class trasformation of model * (i.e. 'open20\amos\news\models\News' => 'common\modules\transformermanagers\NewsTransformerManager' ) */ ], ], ],
luya command
php vendor/bin/luya elastic/re-index-cms // rebuild cms pages elasticsearch index php vendor/bin/luya elastic/rebuild // rebuild all Record models elasticsearch index php vendor/bin/luya elastic/clear-all-indexes // clear all elasticsearch index