# Unable to filter percolators when stemming is used on the index

**URL:** <https://discuss.elastic.co/t/unable-to-filter-percolators-when-stemming-is-used-on-the-index/7646>\
**Category:** Elasticsearch\
**Created:** [May 11, 2012, 12:56am UTC](https://discuss.elastic.co/t/unable-to-filter-percolators-when-stemming-is-used-on-the-index/7646 "2012-05-11T00:56:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brett\_Anderson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brett_anderson/32/2555_2.png) [@Brett\_Anderson](https://discuss.elastic.co/u/Brett_Anderson)\
**Post date:** [May 11, 2012, 12:56am UTC](https://discuss.elastic.co/t/unable-to-filter-percolators-when-stemming-is-used-on-the-index/7646/1 "2012-05-11T00:56:24Z")

</div>

I've found a strange bug when I try and use the percolator filter  
functionality. I.e. I create a bunch of percolators then include a query  
when I percolate a document so that it is only percolated against  
percolators that match the query. This functionality usually works really  
well, but I get strange results when I set the default analyzer to use  
stemming. I've created a bug report in the GitHub repo here[https://github.com/elasticsearch/elasticsearch/issues/1935](https://github.com/elasticsearch/elasticsearch/issues/1935).  
Am I doing something wrong or is this a bug? I haven't tried explicitly  
setting up the percolators with specific analyzer settings and leaving the  
default analyzer standard, which could potentially solve this problem.  
However it is more convenient to modify the default analyzer in this way  
and the filtering issue does seem like a bug.

Thanks,  
LJ.

---

<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:** [May 13, 2012, 10:37am UTC](https://discuss.elastic.co/t/unable-to-filter-percolators-when-stemming-is-used-on-the-index/7646/2 "2012-05-13T10:37:58Z")

</div>

Looks like a bug, see the comment on the issue.

On Fri, May 11, 2012 at 3:56 AM, Laser Jesus  
[brett.anderson.ftw@gmail.com](mailto:brett.anderson.ftw@gmail.com)wrote:

> I've found a strange bug when I try and use the percolator filter  
> functionality. I.e. I create a bunch of percolators then include a query  
> when I percolate a document so that it is only percolated against  
> percolators that match the query. This functionality usually works really  
> well, but I get strange results when I set the default analyzer to use  
> stemming. I've created a bug report in the GitHub repo here[https://github.com/elasticsearch/elasticsearch/issues/1935](https://github.com/elasticsearch/elasticsearch/issues/1935).  
> Am I doing something wrong or is this a bug? I haven't tried explicitly  
> setting up the percolators with specific analyzer settings and leaving the  
> default analyzer standard, which could potentially solve this problem.  
> However it is more convenient to modify the default analyzer in this way  
> and the filtering issue does seem like a bug.
> 
> Thanks,  
> LJ.

---

<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:29am UTC](https://discuss.elastic.co/t/unable-to-filter-percolators-when-stemming-is-used-on-the-index/7646/3 "2017-07-06T03:29:05Z")

</div>

Closed on July 6, 2017, 3:29am UTC


