Why I can't use Elasticsearch for as primary database? not the same way

This is a common question but in different use case.

My application is a buy and sells platform does not launch yet. It uses MongoDB on the server(local) as the primary database to store Ads and I have integrated elasticsearch only for full-text search and I thought of using elasticsearch as my primary database skipping MongoDB in middle

Why?

  • I don't need to keep two copies of data on MongoDB and elasticsearch
  • My application only store ads for 40 - 80 days
  • I can directly use and get elasticsearch benefits
  • I'm storing my user data on a remote database

Is anyone has done this? And What are the pros and cons I would get if I'm doing this so?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.