mehdi89 / elasticquent
Maps Laravel Eloquent models to Elasticsearch types.
v1.0.7
2018-06-10 19:08 UTC
Requires
- php: >=5.4.0
- elasticsearch/elasticsearch: ~6.0
- illuminate/config: ~4.2|^5
- illuminate/database: ~4.2|^5
- nesbot/carbon: ~1.0
Requires (Dev)
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ~4.2|~5.0
This package is not auto-updated.
Last update: 2024-09-24 03:59:41 UTC
README
This fork fixed two issue of main repository . check main repo for more details.
- issue with elasticSearch 6+ version. Content-Type : []
- Allow to pass raw json query. example:
$jsonQuery = '{ "query": { "bool": { "must": [ { "match": { "transcription":"'.$keyword.'" }}, { "match": { "userID": '.$userid.' }} ] } } }'; $audios = Audio::searchByQuery($jsonQuery);