Reputation: 37
I'm looking to build a search engine that returns results for specific types of content from the internet: Articles, Blogs, Videos and Podcasts. The question is what are some viable ways to go about this? I've looked into building a search engine with the likes of Solr or elastic search but this looks like a huge amount of work... I've also looked at Google Search API however this looks like it could get expensive quickly and I'm not sure if you can filter results for only specific content types?
What are some approaches to go about solving this problem? What would be needed if I built something like this from scratch?
FYI - This search engine would need to accessible from a react-native application.
Thanks :)
Upvotes: 1
Views: 200
Reputation: 32386
Don't know why you feel using elasticsearch or solr is a huge amount of work.
if we talk about elasticsearch which is a very popular open-source distributed REST-based search engine. It's very simple to build an efficient and cost-effective performant system for your use-case. elasticsearch provides SDK in all major languages and can be deployed from one node to thousands of nodes in the production.
EDIT: based on comment, pleaser refers to the filter context of elasticsearch which can be easily used to filter the content based on content type(you need to have a field in your elasticsearch index obviously in order to filter on it) and good news is that its by default cached at elasticsearch so gives your very good performance out of the box.
Upvotes: 1