After thinking a lot about what to write next, I stumbled upon a very cool idea. And this is what I thought I should do: Discover something interesting using code...
Let's say we have a text field "name" in an elasticsearch index with the following values: Siddhant, SIDTECHNOCRAT, and sid. Now follow the conventions mentioned in String Sorting in Elasticsearch, which talks about using...
A plugin provides a way to extend or enhance the basic functionality of Elasticsearch without having to fork it from GitHub. Elasticsearch supports a plugin framework which provides many custom...
We should not sort on analyzed text field instead we should sort on not_analyzed text field. Let's understand this with an example: Index some documents with a text field "name"....
I have created an Elasticsearch plugin for sentiment-analysis using Stanford CoreNLP libraries. The plugin is compatible with Elasticsearch 6.4.1. Follow the below steps to use this plugin with your elasticsearch...
An index alias is another name for an index or group of indices. It can substitute the original index name in any API. Using index alias you can: Create “views” on a...
Elasticsearch Analyzer is a wrapper which wraps three functions: Character filter: Mainly used to strip off some unused characters or change some characters. Tokenizer: Breaks a text into individual tokens(or words) based on...
Before Elasticsearch6.x, the analogy wrt Relational Databases was: Relational DB ⇒ Databases ⇒ Tables ⇒ Rows ⇒ Columns Elasticsearch ⇒ Indices ⇒ Types ⇒ Documents ⇒ Fields which led to...
To re-index an index using java, build a re-index request using ReindexRequestBuilder API like: ReindexRequestBuilder reindexRequest = new ReindexRequestBuilder(client,ReindexAction.INSTANCE) .source("source_index") .destination("destination_index") .refresh(true); After creating a request execute the request: reindexRequest.execute();...