I use (Add-on Search - elasticsearch) and my application has 2 stores (main-store, common-store).
In a ‘Contract’ table (main store) there is a relationship with a ‘Company’ table (store common) - linked by ID.
In elasticsearch, I have defined a field in the common table for querying, but the data is not written to Index Management
My table:

My IndexDefinition:

My Index Management:

How can I write enough data?
Thank !