Download the PHP package ngocnm/elastic-query without Composer
On this page you can find all versions of the php package ngocnm/elastic-query. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package elastic-query
Elastic Query Builder For Lumen, Laravel
Install
Config
-
Register Service Provider
-
Define env
-
Config without laravel lumen
- Create singleton with key (elastic_query): php $query_log =\Ngocnm\ElasticQuery\ElasticsearchQueryLog::getLog();
$client = new Ngocnm\ElasticQuery\ElasticsearchQuery('index_name');
-
Select query
-
Limit query
-
Offset query
-
Where query
-
OrderBy query(ASC,DESC)
-
Where between query
-
Where GeoDistance query
-
Delete row by id
-
Delete Multi rows
-
QueryString - Fulltext search
-
Full Text Search Trigrams query
-
Full Text Search moreLikeThis query: Document moreLikeThis
-
WhereIn query
-
WhereNot query
-
WhereNotIn query
-
WhereNotBetween query
-
Insert a document or multi documents
-
Insert or update a document
- Insert or update multi documents
-
- Customize functionScore
- Span near query
-
Update multi documents with condition (Update by query)
-
Delete index
-
CreateIndex index by query
- CreateIndex index by options
-
Check index exist
- Cache query - Only has on laravel framework(Manage cache's laravel):