Download the PHP package jeffleyd/esquery without Composer
On this page you can find all versions of the php package jeffleyd/esquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffleyd/esquery
More information about jeffleyd/esquery
Files in jeffleyd/esquery
Package esquery
Short Description Use syntax similar to eloquent, using the elastic search service.
License MIT
Informations about the package esquery
EsQuery
This project is to be similar to the eloquent query, like this
facilitating searches in ElasticSearch's Lucene.
PUBLISH THE FILE CONFIG
Access the config folder and change the settings of the esquery.php file.
USAGE EXAMPLES
First create a mapping for your index
For more information about mapping types: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html
If you want to add a new index, you can do it like this
Create a migration file and extend the EsScheme class
Now you can create your first document
Find your document
Performing an aggregation
Delete your document
Delete your index
How you can attach relation
INDEX
[x] Create
[x] Delete
[x] Update mapping
[x] Exists
[x] Skip
DOCUMENT
[x] Create
[x] Create Many
[x] Update
[x] Delete by ID
[x] Delete by Query
TYPE SEARCH
[x] FIRST (with/without conditions)
[x] GET (with/without conditions)
[x] PAGINATION (with/without conditions)
[x] AGGREGATION MAX / MIN / SUM / AVG / COUNT
[x] LIMIT
[x] GROUP BY
[x] GROUP BY DATE
CONDITIONS
[x] where
[x] whereIn
[x] whereExists
[x] whereNotExists
[x] whereMissing
[x] between
[x] orderBy
ADDITIONAL
[x] with
[x] reset query after get/first/paginate
ELASTIC SEARCH
Site: https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
Version: 8.1
All versions of esquery with dependencies
elasticsearch/elasticsearch Version 8.2.0
illuminate/support Version 9.12.2
illuminate/pagination Version 9.12.2
illuminate/database Version 9.12.2