# Does the percolator use the analyzers

**URL:** https://discuss.elastic.co/t/does-the-percolator-use-the-analyzers/53573
**Category:** Elasticsearch
**Created:** [June 21, 2016, 9:01pm UTC](https://discuss.elastic.co/t/does-the-percolator-use-the-analyzers/53573 "2016-06-21T21:01:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jhendric98](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jhendric98](https://discuss.elastic.co/u/jhendric98)
#### Post date: [June 21, 2016, 9:01pm UTC](https://discuss.elastic.co/t/does-the-percolator-use-the-analyzers/53573/1 "2016-06-21T21:01:50Z")

</div>

When running percolator documents, it appears to only match text. The underlying analyzers I defined in the type in the percolator index do not seem to be working.

I'm curious, can I use analyzers with percolator queries to create tokens for analyzed fields or not?

---

<div class="post-metadata">

### Author: ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)
#### Post date: [June 22, 2016, 8:23am UTC](https://discuss.elastic.co/t/does-the-percolator-use-the-analyzers/53573/2 "2016-06-22T08:23:24Z")

</div>

Yes. The type/mapping you percolate against in the percolate api is important. You should register your analyzer in that type/mapping. The queries you add via the `.percolate` type will pick those analyzers up to as long as it is in the same index.

---

<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 5, 2017, 10:41pm UTC](https://discuss.elastic.co/t/does-the-percolator-use-the-analyzers/53573/3 "2017-07-05T22:41:29Z")

</div>


