Configuring elastic search