How to define a mapping from JavaScript?

Greetings,

I am utilizing elasticsearch from JavaScript (node). I need to define a
mapping (set certain fields to "not_analyzed"). How can I do that from
JavaScript?

Thanks!

Blake McBride

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/88c0dc23-c85d-4a94-92e4-be07e895251f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.