How to use operators in elasticsearch percolator query?

(yatish gupta) #1

Hi have installed ES 1.0.1 and tried to check the percolator query with AND

Added a query to percolator:

curl -XPUT 'localhost:9200/testperc/.percolator/1' -d
'{"query":{"match":{"message" : "hero AND shine"}}}'

When tried to check for "hero" word that query is matching ideally it
should not happen.

curl -XGET 'localhost:9200/testperc/message/_percolate' -d '{"doc" :
{"message" : "hero"}}'

Please help me how can i use the operators in percolator query?

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
To view this discussion on the web visit
For more options, visit

(system) #2