Switch all ID fields to long in elasticsearch since we use bigint in Postgres for all id columns.

The following discussion from !138298 (merged) should be addressed:

  • @dgruzd started a discussion:

    thought (non-blocking): In another issue/MR we might want to switch all ID fields to long since we use bigint in Postgres for all id columns.

Edited by 🤖 GitLab Bot 🤖