Index Definition in Add-on Search

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:
image

My IndexDefinition:
image

My Index Management:
image

How can I write enough data?
Thank !

Hello,

That happens because currently Search ignores @Transient properties due to change tracking.
For now property should be persistent to be indexed (on all levels of properties hierarchy).

How do you actually resolve your corporateBusiness property? Can you provide getter\setter for it?
This may help us to improve this behavior in the future.