Ramen Elastic Query

Fluent Pseudo-SQL query builder for Elasticsearch
Alternatives To Ramen Elastic Query
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Bodybuilder1,21810558a month ago65May 21, 20229mitJavaScript
An elasticsearch query body builder :muscle:
Elastic Builder460161612 days ago58June 05, 202116mitJavaScript
A Node.js implementation of the elasticsearch Query DSL :construction_worker:
Esquery222
a year ago7apache-2.0Go
An idiomatic Go query builder for ElasticSearch
Elasticshell106
8 years ago13apache-2.0Java
A javascript shell for elasticsearch
Elasticquery78
2 years ago53December 15, 20213mitPython
A simple (Python) query builder for Elasticsearch
Wpes Lib67
3 years agogpl-2.0PHP
WordPress-Elasticsearch Lib
Q Builders48422 years ago7June 23, 20172mitJava
Type safe database agnostic query builders.
Fast Elasticsearch Query Builder47
4 years agoapache-2.0Java
A fast way to build ElasticSearch query string, even without writing implement code.
Spring Data Elasticsearch47
7 years ago2HTML
:cn:Spring-Data-Elasticsearch官方文档的中文翻译版本,翻译不好请见谅,欢迎提issue
Elasticsearch Query Builder37
a month ago2mitPHP
Build query for an ElasticSearch client using a fluent interface
Alternatives To Ramen Elastic Query
Select To Compare


Alternative Project Comparisons
Readme

Ramen Elastic Query (In development)

Build Status

Fluent Pseudo-SQL query builder for Elasticsearch built on top of Lumen Elasticsearch

Installation

Run the following command to install the package through Composer:

composer require hungneox/ramen-elastic-query

Add the following line to bootstrap/app.php:

$app->register(Neox\Ramen\Elastic\ElasticQueryServiceProvider::class);

Usage

Simple select

Object initiation or Facade both work

$builder = app(Builder::class);

$result = $builder
	->use('content') // collection
	->from('article') // type
	->find('TIYKtQX', '_id', ['id', 'title', 'description']);
            
$result = ES::use('content')
		->from('article')
		->find('TIYKtQX', '_id', ['id', 'title', 'description']);

Normal where clause

$result = $builder->select('id', 'description')
			->from('recipe')
			->where('_id', '=', $id)
			->get();

Fulltext match

$result = $builder
            ->use('content')
            ->select('id', 'title', 'description', 'featured')
            ->from('article')
            ->where('title', 'like', 'Auringonkukan')
            ->orderBy('featured', 'desc')
            ->get();

Deletion

ES::use('content')->from('article')->delete($id);

License

See LICENSE.

Popular Elasticsearch Projects
Popular Builder Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Sql
Elasticsearch
Builder
Elastic
Query Builder
Laravel 5 Package
Fulltext