I am just testing the below on a single 40 core machine. It has 171 percolation documents under a single index (index1).
I create a test document to percolate against them. The test document is not changing and i am testing via
curl -XGET localhost:9200/index1/som_maping/_percolate -d '[doc json]'
running the same doc at different times results the time taken to vary from 50 ms to 250 ms to get the result. Why is such huge variation for the same doc ?
There is no other operation running either on elasticsearch or on the machine. Any insight would be great !