EsStorage - Set field as not_analyzed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

EsStorage - Set field as not_analyzed

Kingsley Elmes
Hi,

Does anyone know is it possible to set a field as 'not_analyzed' via the constructor parameters when using the Pig EsStorage load function?

Or do I have to create create the index and set the mappings prior to loading the data using EsStorage.

Thanks,
Kingsley

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/04207f72-873c-4bd3-a812-72cc7da3d979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: EsStorage - Set field as not_analyzed

Ivan Brusic
You can set up an index template without creating the index. The template will only be read when the index is created.

-- 
Ivan

On Tue, Nov 18, 2014 at 11:10 AM, Kingsley Elmes <[hidden email]> wrote:
Hi,

Does anyone know is it possible to set a field as 'not_analyzed' via the constructor parameters when using the Pig EsStorage load function?

Or do I have to create create the index and set the mappings prior to loading the data using EsStorage.

Thanks,
Kingsley

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/04207f72-873c-4bd3-a812-72cc7da3d979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQD-rH1x_Bn52hbUHD1GydP88sVzwBGs5TTrvnJyEYL1uQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.