Skip to content

mehdi89/Elasticquent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticquent

This fork fixed two issue of main repository . check main repo for more details.

  1. issue with elasticSearch 6+ version. Content-Type : []
  2. Allow to pass raw json query. example:
$jsonQuery = '{
  "query": {
    "bool": {
      "must": [
        { "match": { "transcription":"'.$keyword.'" }},
        { "match": { "userID": '.$userid.' }}
      ]
    }
  }
}';
$audios = Audio::searchByQuery($jsonQuery);

About

With fixed issue with elasticSearch 6+ version. Content-Type : [] and allowing to search by raw json query

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%