# Percolation stemming

**URL:** <https://discuss.elastic.co/t/percolation-stemming/10721>\
**Category:** Elasticsearch\
**Created:** [February 13, 2013, 12:20am UTC](https://discuss.elastic.co/t/percolation-stemming/10721 "2013-02-13T00:20:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Ryan](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jon\_Ryan](https://discuss.elastic.co/u/Jon_Ryan)\
**Post date:** [February 13, 2013, 12:20am UTC](https://discuss.elastic.co/t/percolation-stemming/10721/1 "2013-02-13T00:20:07Z")

</div>

Can you setup stemming when using the percolation function? I am not  
indexing documents, just passing them through percolation to trigger  
alerts. Do I need to index documents to do this? Mainly concerned with  
singular/pluralization. Thanks.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [February 13, 2013, 10:44am UTC](https://discuss.elastic.co/t/percolation-stemming/10721/2 "2013-02-13T10:44:41Z")

</div>

On Tue, 2013-02-12 at 16:20 -0800, Jon Ryan wrote:

> Can you setup stemming when using the percolation function?

Yes

> I am not indexing documents, just passing them through percolation to  
> trigger alerts. Do I need to index documents to do this?

No, you can use the percolate API with just the data

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

but you need to have a mapping set up for the type of doc you want to  
check, so that the analysis of each field happens correctly.

You'll notice that the percolate API accepts an index and a type.

you would add your stemming analyzer to the index, and the field  
definition to the mapping for that type.

clint

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:51am UTC](https://discuss.elastic.co/t/percolation-stemming/10721/3 "2017-07-06T02:51:43Z")

</div>

Closed on July 6, 2017, 2:51am UTC


