Add ability to set field used in terms facet: single field with 'field', array of fields with 'fields' or computed field with 'script_field'.