We are using ES and getting response properly for 1 index with search fields. I need suggestions of following :
Problem : I have different objects like contact, account have records which is searchable by in account (name field will be used to search) where in contact (Email, phone field will be used to search)
- Should I use 1 index and keep contact and account in same index with different type (account, contact) to separate the records.
- Should I create 2 index, 1 for account and another for contact.
Whatever is preferrable, please give me search tips. How it will search based on different fields.
Thank you so much !