Remove analyzer for a particular field

Hi,

After reading the response of Kimchy in this
thread: 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.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.
For more options, visit https://groups.google.com/groups/opt_out.

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

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

Le 10 avr. 2013 à 00:11, kazoompa 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

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.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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.

I tried to recreate the settings as described in the documentation
(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 :slight_smile:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 10 avr. 2013 à 00:11, kazoompa <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

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.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 <javascript:>.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.