Download the PHP package kiwiz/esquery without Composer

On this page you can find all versions of the php package kiwiz/esquery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package esquery

ESQuery

ESQuery is a query parser for querying Elasticsearch. Each ESQuery query consists of one or more "commands", separated by the pipe (|) character. During execution, each command is translated into an Elasticsearch DSL query and sent to the server. Any results that are returned get passed off to the next command in the chain.

Structure

Each query is structured as follows:

In English:

with each command separated from the next by a pipe (|) character.

Syntax

Options

Options that can be enabled/disabled within each query. Each option is prefixed by a $.

sort

map

Options

Commands

Search

A standard Lucene QueryParser query. Almost all of the features are available in ESQuery. The ones that aren't primarily relate to scoring, and are listed here:

Must always be the first command.

Lists

Inserts an array of values into a query. ESQuery runs a terms filter on the values that are provided.

Join

Extracts the values from the previous command and makes them available to the following query.

Transaction

Combines documents with matching values for a given field. Must always be the final command (if used).

Aggregation

Standard Elasticsearch aggregations. Multiple aggregations can be chained to nest them. ESQuery will return the bucketed data in a table. Any parameters that an aggregation takes can be passed in after setting the field.

Supported aggs: terms, sig_terms, card, max, avg, sum

Examples

Match all documents.

Get a count of requests to abc.com bucketed by ip_addr.

Find all requests to abc.com sorted by ip_addr and date.

Find all users with the same email as bob.

Find and group all log lines associated with requests that came from 10.0.0.5.

Find any documents that have a value from @include but not a value from @exclude.

Find the most common useragent.


All versions of esquery with dependencies

PHP Build Version
Package Version
Requires elasticsearch/elasticsearch Version >=2.0
kunststube/rison Version ^0.92.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kiwiz/esquery contains the following files

Loading the files please wait ....