# Remove analyzer for a particular field

**URL:** <https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518>\
**Category:** Elasticsearch\
**Created:** [April 9, 2013, 10:11pm UTC](https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518 "2013-04-09T22:11:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kazoompa\_2](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kazoompa\_2](https://discuss.elastic.co/u/kazoompa_2)\
**Post date:** [April 9, 2013, 10:11pm UTC](https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518/1 "2013-04-09T22:11:39Z")

</div>

Hi,

After reading the response of Kimchy in this  
thread: [http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)

I tried to apply it to my default settings YAML file except that there are  
no examples and I have a lot of difficulty to fix the parse errors. Here is  
my YAML:

[http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)

http.enabled: true  
discovery.zen.ping.multicast.enabled: false  
index:  
analysis:  
analyzer:  
opal\_index\_analyzer:  
type: custom  
tokenizer: standard  
filter: [standard,lowercase,opal\_filter]  
opal\_search\_analyzer:  
type: custom  
tokenizer: standard  
filter: [standard,lowercase]  
filter:  
opal\_filter:  
type: nGram  
min\_gram: 2  
max\_gram: 20  
_default_:  
dynamic\_templates:  
exact\_match:  
match: fullName  
mapping:  
type: string  
fields:  
{name}:  
{type}: {dynamic\_type}  
index: not\_analyzed

I have tried several variations and no luck. Any help is greatly appreciated.'

Cheers.

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 10, 2013, 5:49am UTC](https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518/2 "2013-04-10T05:49:53Z")

</div>

What means this notation form?  
{name}:  
{type}: {dynamic\_type}  
I never heard about that.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 10 avr. 2013 à 00:11, kazoompa [raminoacid@gmail.com](mailto:raminoacid@gmail.com) a écrit :

Hi,

After reading the response of Kimchy in this thread: [http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)

I tried to apply it to my default settings YAML file except that there are no examples and I have a lot of difficulty to fix the parse errors. Here is my YAML:

[http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)

http.enabled: true  
discovery.zen.ping.multicast.enabled: false  
index:  
analysis:  
analyzer:  
opal\_index\_analyzer:  
type: custom  
tokenizer: standard  
filter: [standard,lowercase,opal\_filter]  
opal\_search\_analyzer:  
type: custom  
tokenizer: standard  
filter: [standard,lowercase]  
filter:  
opal\_filter:  
type: nGram  
min\_gram: 2  
max\_gram: 20  
_default_:  
dynamic\_templates:  
exact\_match:  
match: fullName  
mapping:  
type: string  
fields:  
{name}:  
{type}: {dynamic\_type}  
index: not\_analyzed

I have tried several variations and no luck. Any help is greatly appreciated.'

## Cheers.

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).

--  
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:** ![kazoompa\_2](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kazoompa\_2](https://discuss.elastic.co/u/kazoompa_2)\
**Post date:** [April 10, 2013, 2:06pm UTC](https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518/3 "2013-04-10T14:06:19Z")

</div>

I tried to recreate the settings as described in the documentation  
([Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/root-object-type.html)),  
except that the documentation is in JSON. The answer to your question, my  
guess, is those are place holders since we defining a template. The will be  
fill with field name and type if they match the criteria.

I am still looking forward to an answer 🙂

Cheers.

On Wednesday, April 10, 2013 1:49:53 AM UTC-4, David Pilato wrote:

> What means this notation form?
> 
> ```
> {name}:
> {type}: {dynamic_type}
> 
> ```
> 
> I never heard about that.
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 10 avr. 2013 à 00:11, kazoompa \<[ramin...@gmail.com](mailto:ramin...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Hi,
> 
> After reading the response of Kimchy in this thread:  
> [http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)
> 
> I tried to apply it to my default settings YAML file except that there are  
> no examples and I have a lot of difficulty to fix the parse errors. Here is  
> my YAML:
> 
> [http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844](http://elasticsearch-users.115913.n3.nabble.com/Disabling-default-analyzer-tt2932819.html#a2937844)
> 
> http.enabled: true  
> discovery.zen.ping.multicast.enabled: false  
> index:  
> analysis:  
> analyzer:  
> opal\_index\_analyzer:  
> type: custom  
> tokenizer: standard  
> filter: [standard,lowercase,opal\_filter]  
> opal\_search\_analyzer:  
> type: custom  
> tokenizer: standard  
> filter: [standard,lowercase]  
> filter:  
> opal\_filter:  
> type: nGram  
> min\_gram: 2  
> max\_gram: 20  
> _default_:  
> dynamic\_templates:  
> exact\_match:  
> match: fullName  
> mapping:  
> type: string  
> fields:  
> {name}:  
> {type}: {dynamic\_type}  
> index: not\_analyzed
> 
> I have tried several variations and no luck. Any help is greatly appreciated.'
> 
> Cheers.
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> 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).  
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:41am UTC](https://discuss.elastic.co/t/remove-analyzer-for-a-particular-field/11518/4 "2017-07-06T02:41:47Z")

</div>


