How we can change Elasticsearch default analyzer


(Ankit Jain) #1

Hi All,

I would like to know about how we can use own custom analyzer as a
default analyzer instead of standard analyzer.

For examples:
Currently, If any new fields enter into an index will be analyzed using
standard analyzer but, I would like to change this default behaviour by
using own custom analyzer as default analyzer.

Please help.

Regards,
Ankit Jain

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


(Ivan Brusic) #2

The default analyzer can be specified at the index level. See the default
analyzer section:

http://www.elasticsearch.org/guide/reference/index-modules/analysis/

It would be under the index.analysis.analyzer section in your mapping.

Cheers,

Ivan

On Fri, Aug 30, 2013 at 8:17 AM, Ankit Jain ankitjaincs06@gmail.com wrote:

Hi All,

I would like to know about how we can use own custom analyzer as a
default analyzer instead of standard analyzer.

For examples:
Currently, If any new fields enter into an index will be analyzed using
standard analyzer but, I would like to change this default behaviour by
using own custom analyzer as default analyzer.

Please help.

Regards,
Ankit Jain

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


(Ankit Jain) #3

Thanks Ivan

On Sunday, 1 September 2013 00:29:07 UTC+5:30, Ivan Brusic wrote:

The default analyzer can be specified at the index level. See the default
analyzer section:

http://www.elasticsearch.org/guide/reference/index-modules/analysis/

It would be under the index.analysis.analyzer section in your mapping.

Cheers,

Ivan

On Fri, Aug 30, 2013 at 8:17 AM, Ankit Jain <ankitj...@gmail.com<javascript:>

wrote:

Hi All,

I would like to know about how we can use own custom analyzer as a
default analyzer instead of standard analyzer.

For examples:
Currently, If any new fields enter into an index will be analyzed using
standard analyzer but, I would like to change this default behaviour by
using own custom analyzer as default analyzer.

Please help.

Regards,
Ankit Jain

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


(system) #4