Tag Archives: Analyzer

Elasticsearch – Advance Query [Aggregations]

The from and size is almost like pagination. It will show 0 to 20 results.The sort is sorting the return data. What is happening here, it will use the query and fetch method. It will…

Elasticsearch – Advance Query [DSL Filter Context]

Filters don’t have relevance scores. And filters are cached, so queries that we have already run, elasticsearch is going to cached. The filter is faster than a query. A basic filter…

Elasticsearch – Advance Query [DSL Query Context]

DSL Query Context

The exists checks if the field email exists under the professor not that if there is any value exists or not.

Under the “must”…

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…