We are trying to percolate an existing documents in ES index. But it always return 0 matches. But when I run percolator by supplying the document in the body returns matches
These are the steps I followed, *CreatE a new index* PUT /new-perc-test { "mappings": { "inventory": { "properties": { "count": {"type": "integer"}, "type": {"type": "string"} } } } } *Registered a query* PUT /new-perc-test/.percolator/1 { "query": { "match": { "type": "mobiles" } } } *Index a document* PUT /new-perc-test/inventory/*doc2* { "count": 12, "type": "mobiles" } On successful indexing, *ran percolator* using GET /new-perc-test/inventory/*doc2*/_percolate Returns 0 matches. I'm not sure what we are missing here? Appreciate any help. Thanks in advance -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7a1dc46a-d815-4166-b576-7e45f280eec6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.