Continue to support non-UA for backfills
Updated to use official elasticsearch lib