Quantcast
Viewing all articles
Browse latest Browse all 827

Multiple indices, or 1 index to rule them all?

Hi there,
question for the community about index design. Suppose we have different entities we want to embed, for example a product and a supplier. I see two options:
option A: embed each entity in it’s own index, with appropriate metadata
option B: embed both entities in the same index, and have an entity_type field as a metadata filter, so that one can still restrict to the entity of interest when needed.

What are the pros and cons of each approach in terms of performance and application? We are having an internal debate and can see arguments to both sides. Ultimately any choice is reversible, but just wondering if others have faced a similar decision.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 827

Trending Articles