While using scout elastic search i need to use the same index for a model and their related fields as well. I created the index, but multiple model is not mapped with the same index. Also for same model related fields are not migrated.
Eg.
My index is lead_index
Model A has a Model B
Model A is a searchable model
All fields of Model A and Model B are mentioned in model A
Running model update with index is fine with Model A but throws error when trying to map with model B as multiple model cannot be mapped with same index.