No special configuration is needed for Elasticsearch 5.x.
Note: Compared to what you may know from earlier versions of Elasticsearch, changes to the types may need to be done in your mapping for version 5. More information on the mapping in ElasticSearch 5.x.