I'd like to set the default mappings used by wildcard.
So this way the first time an index is created , the new mappings are used
based on the wildcard.
I have some fields which are tokens/URLs that I don't want analyzed.
So what I want to do is create a mapping saying that these aren't analyzed
and then when a new index is created, the default mapping is applied with
all my type settings.
Is this possible to do by wildcard? For example, "content*" or do I have
to have one per day? One per day wouldn't be super fun.
nevermind. Looks like index templates are exactly what I need!
On Saturday, December 6, 2014 2:27:11 PM UTC-8, Kevin Burton wrote:
I'm creating a new index, one per day.
I'd like to set the default mappings used by wildcard.
So this way the first time an index is created , the new mappings are used
based on the wildcard.
I have some fields which are tokens/URLs that I don't want analyzed.
So what I want to do is create a mapping saying that these aren't analyzed
and then when a new index is created, the default mapping is applied with
all my type settings.
Is this possible to do by wildcard? For example, "content*" or do I have
to have one per day? One per day wouldn't be super fun.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.