ESFluent APIΒΆ

The key components of the API are Filter and QueryBuilder.

Each Filter inherirts from Filter and generally provides a to_query method that prepares it for json-serialization.

The QueryBuilder manages the top-level body of the query sent to elasticsearch. Besides composing filters, it allows configuration of sorting, size, fields and whether the source document is included in results.