Elasticsearch Mapping

Dear community,

At the moment I am working on an implementation of Elasticsearch, and I read about Ember today (so a true Ember-noob here :smile: ), as a tool to interact with the REST API of ES. I also downloaded the Elasticsearch adapter from Free and Open Search: The Creators of Elasticsearch, ELK & Kibana | Elastic .

I have been reading through the code of both trying to understand the code, and how the structure translates to the ES syntax. For the most part it is clear but the thing I can’t find is how to create the extended mapping using Ember. To explain what I mean, there is a part to create the properties of a type (well actually create a new subclass with some properties):

App.Models.Task = DS.Model.extend({ title: DS.attr(‘string’), completed: DS.attr(‘boolean’), created_at: DS.attr(‘string’), });

But if I want to enable auto-completion for example I think I need a more advanced way of doing this, because I also need to set some additional values: Free and Open Search: The Creators of Elasticsearch, ELK & Kibana | Elastic

Is it possible to do this using the standard functionality of Ember or do I need to add some functionality to either the adapter or Ember itself, or is it not possible at all? If it is possible, what would be the best approach of tackling this?

I am also quite new with ES (started research about one week ago), so it is also possible that there is a better way of doing the auto-completion/suggestion. If you know any, please feel free to give any suggestions on this topic too.

I would greatly appreciate any suggestions or advice. Thanks in advance.

Kind regards, AntiFTW