How to index a data structure with list

How to create index for this data structure? There will be multiple otherUserID's and I don't know how to index them with elasticsearch 6.5. Could anyone help me with URL, mapping and indexing in general please?

UserID -> OtherUserID-> name:"text" , count : "long"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.