Search APIs

Combined_Fields Query Type in Elasticsearch

In Elasticsearch, the combined_fields query allows you to search several text fields as though their indexed values have been indexed into...

Elasticsearch Boolean Queries

There are 4 types of Elasticsearch boolean clauses: filter, must, should & must_not. A single bool query can contain a mix of them. To use...

Elasticsearch Boosting Query

Elasticsearch boosting query is used to return only documents that match a positive query while minimizing the score of documents that...

Elasticsearch Composite Aggregations

An Elasticsearch composite aggregation allows to paginate every bucket from a multi-level aggregation effectively. An example of....

Elasticsearch Constant Score Query

In Elasticsearch, the constant score query wraps other queries by executing them in a filter context. To implement constant_score query...

Elasticsearch DSL Exists Query

The exists query is used for returning the documents that have an indexed value for a specific field, which means it returns the documents...

Elasticsearch Interval Queries

Elasticsearch Intervals query provides control over the words & their positions in a text that is required for a document to match a...

Elasticsearch Keyword vs. Text

Elasticsearch keyword vs. text vs. wildcard vs. text field types. All have different features and are ideal for different use cases

Elasticsearch Match, Multi-Match, and Match Phrase Queries

Match, Multi-Match & Match Phrase are all types of Elasticsearch queries, used to search for matching documents in an index. To use them...

Elasticsearch Runtime Fields: How to Use Lookup Runtime Fields

Elasticsearch runtime fields with a type of lookup can retrieve field values from the associated indices using the fields parameter on...

ElasticsearchAsync Search in

The Elasticsearch async search API retrieves many data in a stream fashion instead of a single request. To limit the maximum response size...

Named Queries

Named queries allow you to label your queries with a name. Named queries can be utilized in a variety of use cases such as...

Slow Query Troubleshooting Guide

There are several potential reasons for a slow query in Elasticsearch. Slow logs can be used to detect & troubleshoot slow queries issues...

Terms Enum API in Elasticsearch (For Low Latency Lookups)

In Elasticsearch, the Terms enum API looks for similarities in the index based on partial matches. To use the terms_enum API...

Skip to content