June 2017
Beginner to intermediate
404 pages
8h 22m
English
The percolate query is one of the popular features of Elasticsearch. Until now, we indexed the documents and used the search API to query the documents. Percolate query is reverse search. The actual queries are stored into an index, and we can percolate a document to get the queries that match the document. By using the percolate query, you are checking whether the document matches any of the predefined criteria. Common use cases include alerts and monitoring. For example, we want to classify the products in an e-commerce store. First, we will add predefined queries to the chapter7 index and use the percolate query to check whether a product matches any predefined queries. The following example will ...
Read now
Unlock full access