All Projects → erichard → Elasticsearch Query Builder

erichard / Elasticsearch Query Builder

Licence: mit
Build query for an ElasticSearch client using a fluent interface

Projects that are alternatives of or similar to Elasticsearch Query Builder

Springcloud
基于SpringCloud2.1的微服务开发脚手架,整合了spring-security-oauth2、nacos、feign、sentinel、springcloud-gateway等。服务治理方面引入elasticsearch、skywalking、springboot-admin、zipkin等,让项目开发快速进入业务开发,而不需过多时间花费在架构搭建上。持续更新中
Stars: ✭ 6,997 (+38772.22%)
Mutual labels:  elasticsearch
Goodskill
🐂基于springcloud +dubbo构建的模拟秒杀项目,模块化设计,集成了分库分表、elasticsearch🔍、gateway、mybatis-plus、spring-session等常用开源组件
Stars: ✭ 786 (+4266.67%)
Mutual labels:  elasticsearch
Complete Guide To Elasticsearch
Contains all of the queries used within the Complete Guide to Elasticsearch course.
Stars: ✭ 829 (+4505.56%)
Mutual labels:  elasticsearch
Monstache
a go daemon that syncs MongoDB to Elasticsearch in realtime
Stars: ✭ 736 (+3988.89%)
Mutual labels:  elasticsearch
Elasticsearch Sql
Use SQL to query Elasticsearch
Stars: ✭ 6,563 (+36361.11%)
Mutual labels:  elasticsearch
Serverless Appsync Plugin
serverless plugin for appsync
Stars: ✭ 804 (+4366.67%)
Mutual labels:  elasticsearch
Elk
搭建ELK日志分析平台。
Stars: ✭ 688 (+3722.22%)
Mutual labels:  elasticsearch
Great Big Example Application
A full-stack example app built with JHipster, Spring Boot, Kotlin, Angular 4, ngrx, and Webpack
Stars: ✭ 899 (+4894.44%)
Mutual labels:  elasticsearch
Funpyspidersearchengine
Word2vec 千人千面 个性化搜索 + Scrapy2.3.0(爬取数据) + ElasticSearch7.9.1(存储数据并提供对外Restful API) + Django3.1.1 搜索
Stars: ✭ 782 (+4244.44%)
Mutual labels:  elasticsearch
Szt Bigdata
深圳地铁大数据客流分析系统🚇🚄🌟
Stars: ✭ 826 (+4488.89%)
Mutual labels:  elasticsearch
Stream Reactor
Streaming reference architecture for ETL with Kafka and Kafka-Connect. You can find more on http://lenses.io on how we provide a unified solution to manage your connectors, most advanced SQL engine for Kafka and Kafka Streams, cluster monitoring and alerting, and more.
Stars: ✭ 753 (+4083.33%)
Mutual labels:  elasticsearch
Xmall
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Stars: ✭ 6,493 (+35972.22%)
Mutual labels:  elasticsearch
Demo Scene
👾Scripts and samples to support Confluent Demos and Talks. ⚠️Might be rough around the edges ;-) 👉For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/
Stars: ✭ 806 (+4377.78%)
Mutual labels:  elasticsearch
Laravel Elasticsearch
An easy way to use the official Elastic Search client in your Laravel applications.
Stars: ✭ 717 (+3883.33%)
Mutual labels:  elasticsearch
Heroic
The Heroic Time Series Database
Stars: ✭ 836 (+4544.44%)
Mutual labels:  elasticsearch
Elasticsearch Spark Recommender
Use Jupyter Notebooks to demonstrate how to build a Recommender with Apache Spark & Elasticsearch
Stars: ✭ 707 (+3827.78%)
Mutual labels:  elasticsearch
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+4311.11%)
Mutual labels:  elasticsearch
Laravel Docker Elasticsearch
This is a simple repo for practicing elasticsearch with laravel and docker.
Stars: ✭ 18 (+0%)
Mutual labels:  elasticsearch
Scalable Image Matching
This is a image matching system for scalable and efficient matching of images from a large database. The basic idea is to compute perceptural hash value for each image and compare the similarity based on the pHash computed. Searching are scalable with the elasticsearch as the backend database.
Stars: ✭ 17 (-5.56%)
Mutual labels:  elasticsearch
Datastream.io
An open-source framework for real-time anomaly detection using Python, ElasticSearch and Kibana
Stars: ✭ 814 (+4422.22%)
Mutual labels:  elasticsearch

ElasticSearch Query Builder

This is a PHP library which helps you build query for an ElasticSearch client by using a fluent interface.

WARNING: This branch contains the next 3.x release. Check the corresponding issue for the roadmap.

Installation

$ composer require erichard/elasticsearch-query-builder

Usage


use Erichard\ElasticQueryBuilder\QueryBuilder;
use Erichard\ElasticQueryBuilder\Aggregation\Aggregation;
use Erichard\ElasticQueryBuilder\Filter\Filter;

$qb = new QueryBuilder();

$qb
    ->setType('my_type')
    ->setIndex('app')
    ->setSize(10)
;

// Add an aggregation
$qb->addAggregation(Aggregation::terms('agg_name')->setField('my_field'));

// Add a filter
$boolFilter = Filter::bool();
$boolFilter->addFilter(Filter::terms()->setField('field')->setValue($value));


$qb->addFilter($boolFilter);

// I am using a client from elasticsearch/elasticsearch here
$results = $client->search($qb->getQuery());

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].