Best Approach for Processing Search Queries through Stored Database

If I am not using real time data for querying and processing my search results , For Example i have 2 3 files (csv or excel or json) which contains millions of records . Now i want to search my input query result with my stored database I mentioned above . Then which is the best approach , whether to use solr or elastic search ?
Does Elastic Search works more efficient on Real time data not on stored databases ?

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