# Percolator Behaves Differently In Different Indices

**URL:** <https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526>\
**Category:** Elasticsearch\
**Created:** [June 1, 2011, 9:39pm UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526 "2011-06-01T21:39:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [June 1, 2011, 9:39pm UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526/1 "2011-06-01T21:39:27Z")

</div>

I have a percolator that is not matching when expected. I attempted  
to create a simple example illustrating the problem; however, I could  
not replicate. For some reason, only this percolator does not match  
when expected. I can't understand why.

I was able to create a gist that shows this percolator not matching  
when an identical one does match. [http://gist.github.com/1003363](http://gist.github.com/1003363)

Notice that the gist contains the following steps:

1. Fetch percolator A (just to show what it is)
2. Percolate document X against percolators A's index
3. Percolator A is returned as a match
4. Fetch percolator B (just to show what it is)
5. Percolate document X against percolators B's index
6. Percolator B is NOT returned as a match

Notice that the query for percolator A and percolator B are  
identical. Notice also that the document percolated against each is  
identical. Why would these behave differently?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 2, 2011, 7:36am UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526/2 "2011-06-02T07:36:43Z")

</div>

Which version are you using?

On Thursday, June 2, 2011 at 12:39 AM, Tim Scott wrote:

> I have a percolator that is not matching when expected. I attempted  
> to create a simple example illustrating the problem; however, I could  
> not replicate. For some reason, only this percolator does not match  
> when expected. I can't understand why.
> 
> I was able to create a gist that shows this percolator not matching  
> when an identical one does match. [The same percolator behaves differently in different indicies · GitHub](http://gist.github.com/1003363)
> 
> Notice that the gist contains the following steps:
> 
> 1. Fetch percolator A (just to show what it is)
> 2. Percolate document X against percolators A's index
> 3. Percolator A is returned as a match
> 4. Fetch percolator B (just to show what it is)
> 5. Percolate document X against percolators B's index
> 6. Percolator B is NOT returned as a match
> 
> Notice that the query for percolator A and percolator B are  
> identical. Notice also that the document percolated against each is  
> identical. Why would these behave differently?

---

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [June 2, 2011, 1:44pm UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526/3 "2011-06-02T13:44:40Z")

</div>

0.16. An interesting thing is that it seems to be working in  
production. The problem is only seen on my dev machine. Something  
corrupted?

On Jun 2, 2:36 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Which version are you using?
> 
> On Thursday, June 2, 2011 at 12:39 AM, Tim Scott wrote:
> 
> > I have a percolator that is not matching when expected. I attempted  
> > to create a simple example illustrating the problem; however, I could  
> > not replicate. For some reason, only this percolator does not match  
> > when expected. I can't understand why.
> 
> > I was able to create a gist that shows this percolator not matching  
> > when an identical one does match.[The same percolator behaves differently in different indicies · GitHub](http://gist.github.com/1003363)
> 
> > Notice that the gist contains the following steps:
> 
> > 1. Fetch percolator A (just to show what it is)
> > 2. Percolate document X against percolators A's index
> > 3. Percolator A is returned as a match
> > 4. Fetch percolator B (just to show what it is)
> > 5. Percolate document X against percolators B's index
> > 6. Percolator B is NOT returned as a match
> 
> > Notice that the query for percolator A and percolator B are  
> > identical. Notice also that the document percolated against each is  
> > identical. Why would these behave differently?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 2, 2011, 1:54pm UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526/4 "2011-06-02T13:54:25Z")

</div>

Which 0.16? There were fixes in this area up to 0.16.2.

On Thursday, June 2, 2011 at 4:44 PM, Tim Scott wrote:

> 0.16. An interesting thing is that it seems to be working in  
> production. The problem is only seen on my dev machine. Something  
> corrupted?
> 
> On Jun 2, 2:36 am, Shay Banon \<[shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) ([http://elasticsearch.com](http://elasticsearch.com))\> wrote:
> 
> > Which version are you using?
> > 
> > On Thursday, June 2, 2011 at 12:39 AM, Tim Scott wrote:
> > 
> > > I have a percolator that is not matching when expected. I attempted  
> > > to create a simple example illustrating the problem; however, I could  
> > > not replicate. For some reason, only this percolator does not match  
> > > when expected. I can't understand why.
> > 
> > > I was able to create a gist that shows this percolator not matching  
> > > when an identical one does match.[The same percolator behaves differently in different indicies · GitHub](http://gist.github.com/1003363)
> > 
> > > Notice that the gist contains the following steps:
> > 
> > > 1. Fetch percolator A (just to show what it is)
> > > 2. Percolate document X against percolators A's index
> > > 3. Percolator A is returned as a match
> > > 4. Fetch percolator B (just to show what it is)
> > > 5. Percolate document X against percolators B's index
> > > 6. Percolator B is NOT returned as a match
> > 
> > > Notice that the query for percolator A and percolator B are  
> > > identical. Notice also that the document percolated against each is  
> > > identical. Why would these behave differently?

---

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [June 3, 2011, 11:17pm UTC](https://discuss.elastic.co/t/percolator-behaves-differently-in-different-indices/4526/5 "2011-06-03T23:17:01Z")

</div>

0.16.0.

I will upgrade to 0.16.2 and see if that cures it. Thanks.

On Jun 2, 8:54 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Which 0.16? There were fixes in this area up to 0.16.2.
> 
> On Thursday, June 2, 2011 at 4:44 PM, Tim Scott wrote:
> 
> > 0.16. An interesting thing is that it seems to be working in  
> > production. The problem is only seen on my dev machine. Something  
> > corrupted?
> 
> > On Jun 2, 2:36 am, Shay Banon \<[shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) ([http://elasticsearch.com](http://elasticsearch.com))\> wrote:
> > 
> > > Which version are you using?
> 
> > > On Thursday, June 2, 2011 at 12:39 AM, Tim Scott wrote:
> > > 
> > > > I have a percolator that is not matching when expected. I attempted  
> > > > to create a simple example illustrating the problem; however, I could  
> > > > not replicate. For some reason, only this percolator does not match  
> > > > when expected. I can't understand why.
> 
> > > > I was able to create a gist that shows this percolator not matching  
> > > > when an identical one does match.[The same percolator behaves differently in different indicies · GitHub](http://gist.github.com/1003363)
> 
> > > > Notice that the gist contains the following steps:
> 
> > > > 1. Fetch percolator A (just to show what it is)
> > > > 2. Percolate document X against percolators A's index
> > > > 3. Percolator A is returned as a match
> > > > 4. Fetch percolator B (just to show what it is)
> > > > 5. Percolate document X against percolators B's index
> > > > 6. Percolator B is NOT returned as a match
> 
> > > > Notice that the query for percolator A and percolator B are  
> > > > identical. Notice also that the document percolated against each is  
> > > > identical. Why would these behave differently?

---

<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-behaves-differently-in-different-indices/4526/6 "2017-07-06T04:04:39Z")

</div>


