# Inconsistent Results From Percolator

**URL:** <https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603>\
**Category:** Elasticsearch\
**Created:** [October 14, 2011, 3:08pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603 "2011-10-14T15:08:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman/32/2224_2.png) [@Kenneth\_Loafman](https://discuss.elastic.co/u/Kenneth_Loafman)\
**Post date:** [October 14, 2011, 3:08pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/1 "2011-10-14T15:08:20Z")

</div>

Hi,

We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
inconsistent results from percolator. We have a three node cluster and it  
appears that node 1 is getting correct results while nodes 2 and 3 are not.  
This means that round-robbin access of percolator will cause us to miss  
matches. I've tied it all up in a gist  
heregit://gist.github.com/1287348.git.  
The gist contains four files:

1. simple testcase
2. testcase results
3. percolator status
4. percolator mapping

If you need anything else, I'll be happy to provide it.

...Thanks,  
...Ken

---

<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:** [October 14, 2011, 3:58pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/2 "2011-10-14T15:58:58Z")

</div>

Heya, can you post the full link to the gist? The "here" is not linked for  
some reason.

On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman  
[kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)wrote:

> Hi,
> 
> We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
> inconsistent results from percolator. We have a three node cluster and it  
> appears that node 1 is getting correct results while nodes 2 and 3 are not.  
> This means that round-robbin access of percolator will cause us to miss  
> matches. I've tied it all up in a gist here. The gist contains four  
> files:
> 
> 1. simple testcase
> 2. testcase results
> 3. percolator status
> 4. percolator mapping
> 
> If you need anything else, I'll be happy to provide it.
> 
> ...Thanks,  
> ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [October 14, 2011, 4:39pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/3 "2011-10-14T16:39:53Z")

</div>

Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)

On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Heya, can you post the full link to the gist? The "here" is not linked for  
> some reason.
> 
> On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> 
> > Hi,
> > 
> > We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
> > inconsistent results from percolator. We have a three node cluster and it  
> > appears that node 1 is getting correct results while nodes 2 and 3 are not.  
> > This means that round-robbin access of percolator will cause us to miss  
> > matches. I've tied it all up in a gist here. The gist contains four  
> > files:
> > 
> > 1. simple testcase
> > 2. testcase results
> > 3. percolator status
> > 4. percolator mapping
> > 
> > If you need anything else, I'll be happy to provide it.
> > 
> > ...Thanks,  
> > ...Ken

---

<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:** [October 14, 2011, 4:47pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/4 "2011-10-14T16:47:33Z")

</div>

Can you post the parts that also registered the percolator queries? A very  
simple gist, having curl requests that set it up, and then percolate.

On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> 
> On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > Heya, can you post the full link to the gist? The "here" is not linked for  
> > some reason.
> > 
> > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > 
> > > Hi,
> > > 
> > > We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
> > > inconsistent results from percolator. We have a three node cluster and it  
> > > appears that node 1 is getting correct results while nodes 2 and 3 are not.  
> > > This means that round-robbin access of percolator will cause us to miss  
> > > matches. I've tied it all up in a gist here. The gist contains four  
> > > files:
> > > 
> > > 1. simple testcase
> > > 2. testcase results
> > > 3. percolator status
> > > 4. percolator mapping
> > > 
> > > If you need anything else, I'll be happy to provide it.
> > > 
> > > ...Thanks,  
> > > ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [October 14, 2011, 6:43pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/5 "2011-10-14T18:43:45Z")

</div>

[inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to run  
test-percolate.sh (updated) afterwards.

Note: we normally populate these dynamically using Pyes, but I was able to  
duplicate this on a 2-node test machine and it failed like below:

mmadm@polaris:~/bugreport$ ./test-percolate.sh

> 9200
> 
> ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> 
> ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}

...Thanks,  
...Ken

On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Can you post the parts that also registered the percolator queries? A very  
> simple gist, having curl requests that set it up, and then percolate.
> 
> On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> 
> > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > 
> > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > 
> > > Heya, can you post the full link to the gist? The "here" is not linked  
> > > for some reason.
> > > 
> > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > > 
> > > > Hi,
> > > > 
> > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
> > > > inconsistent results from percolator. We have a three node cluster and it  
> > > > appears that node 1 is getting correct results while nodes 2 and 3 are not.  
> > > > This means that round-robbin access of percolator will cause us to miss  
> > > > matches. I've tied it all up in a gist here. The gist contains four  
> > > > files:
> > > > 
> > > > 1. simple testcase
> > > > 2. testcase results
> > > > 3. percolator status
> > > > 4. percolator mapping
> > > > 
> > > > If you need anything else, I'll be happy to provide it.
> > > > 
> > > > ...Thanks,  
> > > > ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [October 14, 2011, 8:19pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/6 "2011-10-14T20:19:47Z")

</div>

There's a new make-filters.sh up that provides a readable output and  
corrects some quoting issues.

...Ken

On Fri, Oct 14, 2011 at 1:43 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> [inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to run  
> test-percolate.sh (updated) afterwards.
> 
> Note: we normally populate these dynamically using Pyes, but I was able to  
> duplicate this on a 2-node test machine and it failed like below:
> 
> mmadm@polaris:~/bugreport$ ./test-percolate.sh
> 
> > 9200
> > 
> > ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> > 
> > ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}
> 
> ...Thanks,  
> ...Ken
> 
> On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > Can you post the parts that also registered the percolator queries? A very  
> > simple gist, having curl requests that set it up, and then percolate.
> > 
> > On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > 
> > > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > > 
> > > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > > 
> > > > Heya, can you post the full link to the gist? The "here" is not linked  
> > > > for some reason.
> > > > 
> > > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > > > 
> > > > > Hi,
> > > > > 
> > > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're getting  
> > > > > inconsistent results from percolator. We have a three node cluster and it  
> > > > > appears that node 1 is getting correct results while nodes 2 and 3 are not.  
> > > > > This means that round-robbin access of percolator will cause us to miss  
> > > > > matches. I've tied it all up in a gist here. The gist contains four  
> > > > > files:
> > > > > 
> > > > > 1. simple testcase
> > > > > 2. testcase results
> > > > > 3. percolator status
> > > > > 4. percolator mapping
> > > > > 
> > > > > If you need anything else, I'll be happy to provide it.
> > > > > 
> > > > > ...Thanks,  
> > > > > ...Ken

---

<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:** [October 16, 2011, 11:40pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/7 "2011-10-16T23:40:15Z")

</div>

Hey, I ran the test, started two nodes, ran the curl that registers the  
queries, also added one to create the filters index, and then ran the  
percolate request, and got consistent results. I also noticed that in your  
first output of the percolate request, I see results that are not part of  
the registered percolator queries...

On Fri, Oct 14, 2011 at 10:19 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> There's a new make-filters.sh up that provides a readable output and  
> corrects some quoting issues.
> 
> ...Ken
> 
> On Fri, Oct 14, 2011 at 1:43 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> 
> > [inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to run  
> > test-percolate.sh (updated) afterwards.
> > 
> > Note: we normally populate these dynamically using Pyes, but I was able to  
> > duplicate this on a 2-node test machine and it failed like below:
> > 
> > mmadm@polaris:~/bugreport$ ./test-percolate.sh
> > 
> > > 9200
> > > 
> > > ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> > > 
> > > ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}
> > 
> > ...Thanks,  
> > ...Ken
> > 
> > On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > 
> > > Can you post the parts that also registered the percolator queries? A  
> > > very simple gist, having curl requests that set it up, and then percolate.
> > > 
> > > On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > > 
> > > > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > > > 
> > > > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > > > 
> > > > > Heya, can you post the full link to the gist? The "here" is not linked  
> > > > > for some reason.
> > > > > 
> > > > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > > > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're  
> > > > > > getting inconsistent results from percolator. We have a three node cluster  
> > > > > > and it appears that node 1 is getting correct results while nodes 2 and 3  
> > > > > > are not. This means that round-robbin access of percolator will cause us to  
> > > > > > miss matches. I've tied it all up in a gist here. The gist contains  
> > > > > > four files:
> > > > > > 
> > > > > > 1. simple testcase
> > > > > > 2. testcase results
> > > > > > 3. percolator status
> > > > > > 4. percolator mapping
> > > > > > 
> > > > > > If you need anything else, I'll be happy to provide it.
> > > > > > 
> > > > > > ...Thanks,  
> > > > > > ...Ken

---

<div class="post-metadata">

**Author:** ![Kenneth\_Loafman\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kenneth_loafman_2/32/2224_2.png) [@Kenneth\_Loafman\_2](https://discuss.elastic.co/u/Kenneth_Loafman_2)\
**Post date:** [October 17, 2011, 11:26am UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/8 "2011-10-17T11:26:33Z")

</div>

Shay,

We updated the cluster to pick up last Saturday's fix for another problem  
and this problem has gone away now.

Just part of being on the bleeding edge. 😉

...Thanks,  
...Ken

On Sun, Oct 16, 2011 at 6:40 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Hey, I ran the test, started two nodes, ran the curl that registers the  
> queries, also added one to create the filters index, and then ran the  
> percolate request, and got consistent results. I also noticed that in your  
> first output of the percolate request, I see results that are not part of  
> the registered percolator queries...
> 
> On Fri, Oct 14, 2011 at 10:19 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> 
> > There's a new make-filters.sh up that provides a readable output and  
> > corrects some quoting issues.
> > 
> > ...Ken
> > 
> > On Fri, Oct 14, 2011 at 1:43 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > 
> > > [inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to  
> > > run test-percolate.sh (updated) afterwards.
> > > 
> > > Note: we normally populate these dynamically using Pyes, but I was able  
> > > to duplicate this on a 2-node test machine and it failed like below:
> > > 
> > > mmadm@polaris:~/bugreport$ ./test-percolate.sh
> > > 
> > > > 9200
> > > > 
> > > > ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> > > > 
> > > > ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}
> > > 
> > > ...Thanks,  
> > > ...Ken
> > > 
> > > On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > > 
> > > > Can you post the parts that also registered the percolator queries? A  
> > > > very simple gist, having curl requests that set it up, and then percolate.
> > > > 
> > > > On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > > > 
> > > > > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > > > > 
> > > > > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > > > > 
> > > > > > Heya, can you post the full link to the gist? The "here" is not linked  
> > > > > > for some reason.
> > > > > > 
> > > > > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > > > > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're  
> > > > > > > getting inconsistent results from percolator. We have a three node cluster  
> > > > > > > and it appears that node 1 is getting correct results while nodes 2 and 3  
> > > > > > > are not. This means that round-robbin access of percolator will cause us to  
> > > > > > > miss matches. I've tied it all up in a gist here. The gist  
> > > > > > > contains four files:
> > > > > > > 
> > > > > > > 1. simple testcase
> > > > > > > 2. testcase results
> > > > > > > 3. percolator status
> > > > > > > 4. percolator mapping
> > > > > > > 
> > > > > > > If you need anything else, I'll be happy to provide it.
> > > > > > > 
> > > > > > > ...Thanks,  
> > > > > > > ...Ken

---

<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:** [October 17, 2011, 11:46pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/9 "2011-10-17T23:46:52Z")

</div>

Strange..., if you hit it again, don't hesitate to ping and I would love to  
fix it if its a problem.

On Mon, Oct 17, 2011 at 1:26 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:

> Shay,
> 
> We updated the cluster to pick up last Saturday's fix for another problem  
> and this problem has gone away now.
> 
> Just part of being on the bleeding edge. 😉
> 
> ...Thanks,  
> ...Ken
> 
> On Sun, Oct 16, 2011 at 6:40 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > Hey, I ran the test, started two nodes, ran the curl that registers the  
> > queries, also added one to create the filters index, and then ran the  
> > percolate request, and got consistent results. I also noticed that in your  
> > first output of the percolate request, I see results that are not part of  
> > the registered percolator queries...
> > 
> > On Fri, Oct 14, 2011 at 10:19 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > 
> > > There's a new make-filters.sh up that provides a readable output and  
> > > corrects some quoting issues.
> > > 
> > > ...Ken
> > > 
> > > On Fri, Oct 14, 2011 at 1:43 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > > 
> > > > [inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to  
> > > > run test-percolate.sh (updated) afterwards.
> > > > 
> > > > Note: we normally populate these dynamically using Pyes, but I was able  
> > > > to duplicate this on a 2-node test machine and it failed like below:
> > > > 
> > > > mmadm@polaris:~/bugreport$ ./test-percolate.sh
> > > > 
> > > > > 9200
> > > > > 
> > > > > ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> > > > > 
> > > > > ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}
> > > > 
> > > > ...Thanks,  
> > > > ...Ken
> > > > 
> > > > On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> > > > 
> > > > > Can you post the parts that also registered the percolator queries? A  
> > > > > very simple gist, having curl requests that set it up, and then percolate.
> > > > > 
> > > > > On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman [kenneth@loafman.com](mailto:kenneth@loafman.com)wrote:
> > > > > 
> > > > > > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > > > > > 
> > > > > > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com)wrote:
> > > > > > 
> > > > > > > Heya, can you post the full link to the gist? The "here" is not  
> > > > > > > linked for some reason.
> > > > > > > 
> > > > > > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > > > > > [kenneth.loafman@gmail.com](mailto:kenneth.loafman@gmail.com)\> wrote:
> > > > > > > 
> > > > > > > > Hi,
> > > > > > > > 
> > > > > > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're  
> > > > > > > > getting inconsistent results from percolator. We have a three node cluster  
> > > > > > > > and it appears that node 1 is getting correct results while nodes 2 and 3  
> > > > > > > > are not. This means that round-robbin access of percolator will cause us to  
> > > > > > > > miss matches. I've tied it all up in a gist here. The gist  
> > > > > > > > contains four files:
> > > > > > > > 
> > > > > > > > 1. simple testcase
> > > > > > > > 2. testcase results
> > > > > > > > 3. percolator status
> > > > > > > > 4. percolator mapping
> > > > > > > > 
> > > > > > > > If you need anything else, I'll be happy to provide it.
> > > > > > > > 
> > > > > > > > ...Thanks,  
> > > > > > > > ...Ken

---

<div class="post-metadata">

**Author:** ![Ollie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ollie/32/1299_2.png) [@Ollie](https://discuss.elastic.co/u/Ollie)\
**Post date:** [November 30, 2012, 2:48pm UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/10 "2012-11-30T14:48:37Z")

</div>

Hi,

We're seeing this exact issue on our cluster right now - running 0.19.0.  
Was the cause of this ever found / fixed?

Ollie

On Tuesday, October 18, 2011 12:46:52 AM UTC+1, kimchy wrote:

> Strange..., if you hit it again, don't hesitate to ping and I would love  
> to fix it if its a problem.
> 
> On Mon, Oct 17, 2011 at 1:26 PM, Kenneth Loafman \<[ken...@loafman.com](mailto:ken...@loafman.com)\<javascript:\>
> 
> > wrote:
> 
> > Shay,
> > 
> > We updated the cluster to pick up last Saturday's fix for another problem  
> > and this problem has gone away now.
> > 
> > Just part of being on the bleeding edge. 😉
> > 
> > ...Thanks,  
> > ...Ken
> > 
> > On Sun, Oct 16, 2011 at 6:40 PM, Shay Banon \<[kim...@gmail.com](mailto:kim...@gmail.com)\<javascript:\>
> > 
> > > wrote:
> > 
> > > Hey, I ran the test, started two nodes, ran the curl that registers the  
> > > queries, also added one to create the filters index, and then ran the  
> > > percolate request, and got consistent results. I also noticed that in your  
> > > first output of the percolate request, I see results that are not part of  
> > > the registered percolator queries...
> > > 
> > > On Fri, Oct 14, 2011 at 10:19 PM, Kenneth Loafman \<[ken...@loafman.com](mailto:ken...@loafman.com)\<javascript:\>
> > > 
> > > > wrote:
> > > 
> > > > There's a new make-filters.sh up that provides a readable output and  
> > > > corrects some quoting issues.
> > > > 
> > > > ...Ken
> > > > 
> > > > On Fri, Oct 14, 2011 at 1:43 PM, Kenneth Loafman \<[ken...@loafman.com](mailto:ken...@loafman.com)\<javascript:\>
> > > > 
> > > > > wrote:
> > > > 
> > > > > [inconsistent results from percolator · GitHub](https://gist.github.com/1287348) file make-filters.sh. You'll need to  
> > > > > run test-percolate.sh (updated) afterwards.
> > > > > 
> > > > > Note: we normally populate these dynamically using Pyes, but I was  
> > > > > able to duplicate this on a 2-node test machine and it failed like below:
> > > > > 
> > > > > mmadm@polaris:~/bugreport$ ./test-percolate.sh
> > > > > 
> > > > > > 9200
> > > > > > 
> > > > > > ## {"ok":true,"matches":["filter\_0131\_0222\_0002403","filter\_0131\_0323\_0007790","filter\_0131\_0222\_0007958"]}
> > > > > > 
> > > > > > ## 9201 {"ok":true,"matches":["filter\_0131\_0222\_0007958"]}
> > > > > 
> > > > > ...Thanks,  
> > > > > ...Ken
> > > > > 
> > > > > On Fri, Oct 14, 2011 at 11:47 AM, Shay Banon \<[kim...@gmail.com](mailto:kim...@gmail.com)\<javascript:\>
> > > > > 
> > > > > > wrote:
> > > > > 
> > > > > > Can you post the parts that also registered the percolator queries? A  
> > > > > > very simple gist, having curl requests that set it up, and then percolate.
> > > > > > 
> > > > > > On Fri, Oct 14, 2011 at 6:39 PM, Kenneth Loafman \<[ken...@loafman.com](mailto:ken...@loafman.com)\<javascript:\>
> > > > > > 
> > > > > > > wrote:
> > > > > > 
> > > > > > > Sorry, here it is: [inconsistent results from percolator · GitHub](https://gist.github.com/1287348)
> > > > > > > 
> > > > > > > On Fri, Oct 14, 2011 at 10:58 AM, Shay Banon \<[kim...@gmail.com](mailto:kim...@gmail.com)\<javascript:\>
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > Heya, can you post the full link to the gist? The "here" is not  
> > > > > > > > linked for some reason.
> > > > > > > > 
> > > > > > > > On Fri, Oct 14, 2011 at 5:08 PM, Kenneth Loafman \<  
> > > > > > > > [kenneth...@gmail.com](mailto:kenneth...@gmail.com) \<javascript:\>\> wrote:
> > > > > > > > 
> > > > > > > > > Hi,
> > > > > > > > > 
> > > > > > > > > We are running 18-SNAPSHOT from a couple of weeks ago and we're  
> > > > > > > > > getting inconsistent results from percolator. We have a three node cluster  
> > > > > > > > > and it appears that node 1 is getting correct results while nodes 2 and 3  
> > > > > > > > > are not. This means that round-robbin access of percolator will cause us  
> > > > > > > > > to miss matches. I've tied it all up in a gist here. The gist  
> > > > > > > > > contains four files:
> > > > > > > > > 
> > > > > > > > > 1. simple testcase
> > > > > > > > > 2. testcase results
> > > > > > > > > 3. percolator status
> > > > > > > > > 4. percolator mapping
> > > > > > > > > 
> > > > > > > > > If you need anything else, I'll be happy to provide it.
> > > > > > > > > 
> > > > > > > > > ...Thanks,  
> > > > > > > > > ...Ken

--

---

<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, 3:01am UTC](https://discuss.elastic.co/t/inconsistent-results-from-percolator/5603/11 "2017-07-06T03:01:59Z")

</div>


