How to edit mappings

Hi. I'm very to elasticsearch, so please excuse my lack of knowledge. I normally insert stuff inside indices using the java api, and read them by parsing the JSON aquired by querying to http://localhost:9200/portail/_search?pretty=true&sort=date for example. I've realised the sort option wasn't working, probably due to my date format. I heard you could edit the format / add a new one in the mappings. How do I edit that ? I know you can view them by querying _mappings via URL, but how can I edit them ? Is that in the config file or something ? Thanks


How about this page?

I think It's useful to you.

And cannot change mapping stocked data already. (It's possible make new field via scheme-less)
It's better make another index with new mappings I think.

Good luck!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.