# Dose filter run analyzer which is defined with the field

**URL:** <https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106>\
**Category:** Elasticsearch\
**Created:** [January 4, 2014, 12:44pm UTC](https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106 "2014-01-04T12:44:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Arjit\_Gupta](https://discuss.elastic.co/u/Arjit_Gupta)\
**Post date:** [January 4, 2014, 12:44pm UTC](https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106/1 "2014-01-04T12:44:54Z")

</div>

Hi,

I am using search queries in my application. But now I want to use filters  
(as its faster and I dont care about scoring )but I cant find a filter  
which runs the analyzer in the query. Is there a filter type which can run  
analyzers on the query.

I am using elasticsearch version 0.90.1.

Thanks,  
Arjit

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/afcbef56-9628-498e-bd34-ebefc5bc4e66%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/afcbef56-9628-498e-bd34-ebefc5bc4e66%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Justin\_Treher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/justin_treher/32/45243_2.png) [@Justin\_Treher](https://discuss.elastic.co/u/Justin_Treher)\
**Post date:** [January 4, 2014, 2:54pm UTC](https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106/2 "2014-01-04T14:54:38Z")

</div>

Filters do not analyze the filter text ever. They will simply take the text  
in the filter and match it one to one with your tokens. So, filters match  
on text analyzed during the index process, but they do no processing of the  
query text itself at query time.

For example:

Index you have the lowercase token filter and index the word: EUROPE

This is stored as the token: europe

When you do a term filter, you would have to pass in the lowercase "europe"  
for it to match. "Europe" would not match. "EUROPE" would not match.

On Saturday, January 4, 2014 7:44:54 AM UTC-5, Arjit Gupta wrote:

> Hi,
> 
> I am using search queries in my application. But now I want to use filters  
> (as its faster and I dont care about scoring )but I cant find a filter  
> which runs the analyzer in the query. Is there a filter type which can run  
> analyzers on the query.
> 
> I am using elasticsearch version 0.90.1.
> 
> Thanks,  
> Arjit

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a5ff6077-aa22-460d-bbba-c66e03596310%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5ff6077-aa22-460d-bbba-c66e03596310%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Arjit\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Arjit\_Gupta](https://discuss.elastic.co/u/Arjit_Gupta)\
**Post date:** [January 5, 2014, 4:32am UTC](https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106/3 "2014-01-05T04:32:44Z")

</div>

Thanks a lot Justin it helps 🙂 .

Thanks ,  
Arjit

On Sat, Jan 4, 2014 at 8:24 PM, Justin Treher [jtreher@gmail.com](mailto:jtreher@gmail.com) wrote:

> Filters do not analyze the filter text ever. They will simply take the  
> text in the filter and match it one to one with your tokens. So, filters  
> match on text analyzed during the index process, but they do no processing  
> of the query text itself at query time.
> 
> For example:
> 
> Index you have the lowercase token filter and index the word: EUROPE
> 
> This is stored as the token: europe
> 
> When you do a term filter, you would have to pass in the lowercase  
> "europe" for it to match. "Europe" would not match. "EUROPE" would not  
> match.
> 
> On Saturday, January 4, 2014 7:44:54 AM UTC-5, Arjit Gupta wrote:
> 
> > Hi,
> > 
> > I am using search queries in my application. But now I want to use  
> > filters (as its faster and I dont care about scoring )but I cant find a  
> > filter which runs the analyzer in the query. Is there a filter type which  
> > can run analyzers on the query.
> > 
> > I am using elasticsearch version 0.90.1.
> > 
> > Thanks,  
> > Arjit
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/F\_0pb61GZpc/unsubscribe](https://groups.google.com/d/topic/elasticsearch/F_0pb61GZpc/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/a5ff6077-aa22-460d-bbba-c66e03596310%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5ff6077-aa22-460d-bbba-c66e03596310%40googlegroups.com)  
> .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CADe%2BHd-XeantauXxq9oe5M1YazkOYXN\_Ot26j%3D9xHSZUpkownA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADe%2BHd-XeantauXxq9oe5M1YazkOYXN_Ot26j%3D9xHSZUpkownA%40mail.gmail.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, 1:58am UTC](https://discuss.elastic.co/t/dose-filter-run-analyzer-which-is-defined-with-the-field/15106/4 "2017-07-06T01:58:18Z")

</div>


