Elasticsearch, Firebase, or something else?

Hi, I’m new to Ionic. I need to store a significant number of Microsoft Word, and possibly PDF files. I then need to be able to search those files, as well as update them.

In addition, I will need user authentication, push notifications, and the ability for the app to work offline. I’m weighing the options to accomplish this, and would really appreciate your help.

I’ve been looking at Ealsticsearch and Firebase primarily. It appears Firebase will handle these tasks, but I like the power Elasticsearch has in terms of indexing and searching, etc. Whatever backend is chosen, it will need to be hosted. So that is also a factor.

I appreciate your thoughts or suggestions!