I'm building a product search widget that e-commerce clients integrate into their website. Let's say I have 100 clients with 1000 products each.
Visitors on a particular client's website are only able to search for that client's products.
Given that products share the exact same attributes (id, name, price, etc...) across clients:
Should I use a separate index for each client, or one index to store all clients' products and somehow associate each product with a client?
Thanks in advance.
I would strongly recommend you to create a separate index for each client, since it allows you to have
Which is not the case if you go with the other approach.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With