reverted primaryKey of elasticsearch to be array again

meet the AR interface requirements.