I have an index: products
curl -XPUT "http://localhost:9200/products/product/1" -d'
{
"title": "Iphone 6",
"category_id": 4,
"price": 7788,
"owner_id": 21
}'
How to create percolate index for 3 fields: title, category_id, price?
Percolate Query here I only found how to do for 1 field.
Create an index with two mappings
Register a query in the percolator
Match a document to the registered percolator queries