srikanthgopi's avatar

Search Engine

How to create a search engine like google.com with laravel.

I found a package that can add google search engine (free and paid) to the site. But i would like to create a custom web search which displays the results

Juts like this http://www.pogofrog.com/ but i guess this site uses google search engine. I want to create a own web search engine with laravel. Any tutorial or links/packages to start would really help.

0 likes
5 replies
bobbybouwmann's avatar

Well building a search engine can be very hard! You need a crawler to actually search the Internet, next to that you need to parse all the content of the webpages so you can actually find the correct content. By parsing the content you need to filter all the links so you can keep crawling.

If you want your search results to be quick you also need some kind of search index like solar or elastic search.

You can't just build this in a few hours. It takes years to crawl and parse the web to have relevant searches.

Let me know if I can help any further! Merry Christmas

dbapro's avatar

Why re-invent the wheel? Why would people use yours over google, or bing, or even yahoo??

srikanthgopi's avatar

@dbapro Maybe my question wasn't proper. But im not trying to build a search engine like google, yahoo or bing. Infact im looking to insert a web search functionality into my project where Users have a choice to search from the directory or from the web with the same keywords. When they select search from the directory i want to display all the results from the directory. If they want to search the web with the same keywords, i wanted to include a radio button to switch between internal and web results. It's just to make the user stay on our website while searching the web results too. I'm not trying to build a search engine like google. But looking to offer this extra advantage to users on my website.

@bobbybouwmann Do you know any tutorials or videos for reference.

Please or to participate in this conversation.