August 2019
Intermediate to advanced
560 pages
13h 41m
English
In a SQL database, a view is a SQL statement that is stored in the database using a name. In Elasticsearch, a filtered alias provides a similar capability to access a subset of documents from the underlying indices. A filtered alias can be applied to search APIs, count APIs, delete by query APIs, and so on. To create a filtered alias, you need to ensure that the X field already exists in the index mapping, and then you can create an alias that uses the filter on the X field. Although we haven't yet presented the document and mappings yet we will still have a quick look through an end-to-end example. The step-by-step instructions are as follows:
Read now
Unlock full access