Manipulating Search Results
You may have observed that search queries return the results from the original documents specified with the _source field. Occasionally, we…
You may have observed that search queries return the results from the original documents specified with the _source field. Occasionally, we…
We can sort the documents based on one or more fields in addition to sorting on the document’s relevancy score.…
In this article, let’s look at the search API and learn about ways to invoke the engine to carry out…
A lot happens when a user invokes a search query against Elasticsearch. Although we touched on the mechanics earlier, let’s…
Documents are expected to have hundreds of fields — for example, a tweet consists of hundreds of field and so…
At times, we may have a set of IDs that we would like to get them from Elasticsearch. The IDs…
As the name suggests, the terms (note down the plural) query searches multiple criteria against a single field. That is, we can…
Oftentimes, we need a set of data that falls within a range: flights that were delayed between certain dates, profit…
The sourcecode for this (and other topics) code is available here on my GitHub repo. You can download the movies data and index them.…
At times we might want to query for words using a prefix, like Leo for Leonardo or Mar for Marlon Brando, Mark Hamill, or…