Percolate Existing Documents Seems Broke


(smonasco-2) #1

Maybe I'm off or I missed something where this was covered, but...

curl -XPUT 'localhost:9200/test'

curl -XPUT 'localhost:9200/test/.percolator/1' -d '
{
"query": {
"query_string": {
"query": "headline:"apples""
}
},
"attributes": {
"query_name": "headline apples"
}
}'

curl -XGET 'localhost:9200/test/test/_percolate' -d '
{
"doc": {
"headline": "apples"
}
}'

----get the match I expect

curl -XPUT 'localhost:9200/test/test/1' -d '
{
"doc": {
"headline": "apples"
}
}'

curl -XGET 'localhost:9200/test/test/1/_percolate'

no match

--Shannon Monasco

P.S. I am using elasticsearch-1.0.1 and running it on my local windows
workstation. I can roll back the yml to the most basic one if that helps.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/76a4cd31-e31a-4005-bf6f-51ca89c50bbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2