Could you please give me some advice about about I...
# community-help
g
Could you please give me some advice about about I should or not split indices. I have vendors that sell products. Vendor entity and Product entity have their own set of properties. I have mainly 2 ways to display my data in my website: 1- a page that display a product list (product centry) 2- a page that display a vendor list with some products they sell (vendor centry) Should I create an indice for the product and another one for the vendor. Or, shall I create a kind of indice that would merge both? Thanks
j
@gab gab I'd recommend storing them as two separate collections.
This way you can use federated search / multi-search to show results from both indices together if needed
g
Thank you !