WCMS-43 Added configuration for elasticsearch.