Added 'details' section on /rest/index/stats if field provided for the query.