# Percolator issue?

**URL:** <https://discuss.elastic.co/t/percolator-issue/4593>\
**Category:** Elasticsearch\
**Created:** [June 9, 2011, 9:47pm UTC](https://discuss.elastic.co/t/percolator-issue/4593 "2011-06-09T21:47:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![asanderson](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@asanderson](https://discuss.elastic.co/u/asanderson)\
**Post date:** [June 9, 2011, 9:47pm UTC](https://discuss.elastic.co/t/percolator-issue/4593/1 "2011-06-09T21:47:30Z")

</div>

Greetings!

I just started evaluating ElasticSearch 0.16.2 as a possible Solr  
replacement, so I'm a newbie.

I tried the percolator example and it worked, but then I tried a slightly  
modified example and got no matches.

My slightly modified example was the following:

curl -XPUT localhost:9200/test  
{"ok":true,"acknowledged":true}

curl -XPUT localhost:9200/\_percolator/test/surname -d  
'{"query":{"term":{"surname":"Smith"}}}'  
{"ok":true,"\_index":"\_percolator","\_type":"test","\_id":"surname","\_version":1}

curl -XGET localhost:9200/test/person/\_percolate -d  
'{"doc":{"surname":"Smith"}}'  
{"ok":true,"matches":[]}

java -version  
java version "1.6.0\_24"  
Java(TM) SE Runtime Environment (build 1.6.0\_24-b07)  
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

uname -a  
Linux ubuntu-tcs4 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC  
2010 x86\_64 GNU/Linux

I must be doing something wrong or misunderstand how it works.

Please advise.

Thanks!

Steve

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/percolator-issue-tp3046222p3046222.html](http://elasticsearch-users.115913.n3.nabble.com/percolator-issue-tp3046222p3046222.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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, 4:04am UTC](https://discuss.elastic.co/t/percolator-issue/4593/2 "2017-07-06T04:04:10Z")

</div>


