# Percolate Existing Documents Seems Broke

**URL:** <https://discuss.elastic.co/t/percolate-existing-documents-seems-broke/17158>\
**Category:** Elasticsearch\
**Created:** [April 23, 2014, 11:12pm UTC](https://discuss.elastic.co/t/percolate-existing-documents-seems-broke/17158 "2014-04-23T23:12:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smonasco\_2](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@smonasco\_2](https://discuss.elastic.co/u/smonasco_2)\
**Post date:** [April 23, 2014, 11:12pm UTC](https://discuss.elastic.co/t/percolate-existing-documents-seems-broke/17158/1 "2014-04-23T23:12:15Z")

</div>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/76a4cd31-e31a-4005-bf6f-51ca89c50bbc%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:33am UTC](https://discuss.elastic.co/t/percolate-existing-documents-seems-broke/17158/2 "2017-07-06T01:33:54Z")

</div>


