It is quite possible to think of these options as well:
- Elasticsearch is typically a complementary technology and not used as a master database. Hence, the product information should be maintained in a reliable, relational, or NoSQL database.
- A document database such as MongoDB can build indexes too. However, the performance or indexing capability cannot equal Elasticsearch.
This is a classic example for fit for purpose. Your choice will depend on your use case:
- Whether you have flexible schema needs
- Scalable and high volume applications
- Highly flexible search requirements