Monthly Archives: November 2019

Elasticsearch – Full Text Queries

In the previous section, we went through a number of term level queries, which are used for exact matches. While we can use term level queries for searching for long…

Elasticsearch – Term Level Queries

These are most commonly used to query structured data such as dates and numbers. We can use term level queries to query text fields too. But searching a description field…

Elasticsearch – Searching and Querying

Searching with Request URI The query DSL is the most common approach. The way you issue a search request is to send a get request to the search API, then…

Elasticsearch – Analyzers in Mapping and Adding Analyzers to existing Indices

Let’s see how we can use analyzers in field mappings. All it takes is an analyzer parameter within a field mapping with the name of an analyzer.

As we…

Elasticsearch – Analyzer Part 2

Configure the built-in tokenizer We can configure the built-in analyzers, some of them can be configured through parameters. In the following example, we will configure the standard analyzer to remove…