I'm not sure the right way to do it but if you set dynamic to false and then just send the field it'll be stored but not indexed.
On Wed, Aug 13, 2014 at 9:35 AM, Sam2014 <[email protected]> wrote: > Is it possible in ElasticSearch? > > Assume I have a doc { "field1":value1, "field2":value2 ...} > > One of the fields "field2" I would like not to index, basically just store > its content in ElasticSearch and retrieve it when need it. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/bafaa51a-e970-45b6-8acf-5666707edf4d%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/bafaa51a-e970-45b6-8acf-5666707edf4d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0Ov0ObTPgVi58hGNO5W2NrObcTNbajeS%3DNGyb5BE1wzQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
