q0987
q0987

Reputation: 35982

Search - How to implement the Google website search like the one used here

I would like to implement a search function for my website as the functions listed here

https://stackoverflow.com/search

What should I do in order to do this?

Based on my understanding, two methods can be used to provide search function for my website.

1> MySQL full text search 2> Use search lucene package.

My guess is that the search function here https://stackoverflow.com/search is neither of them. So what is the method that has been used to provide such a search on the website?

Thank you

Upvotes: 1

Views: 373

Answers (2)

Chris Thornton
Chris Thornton

Reputation: 15817

It would seem that a MySQL approach would work if your site is entirely database-driven. Otherwise, you need something that spiders, such as Zoom by WrenSoft. http://www.wrensoft.com/

Upvotes: 1

poke
poke

Reputation: 387825

Just look at the url:

http://www.google.com/search?sitesearch=stackoverflow.com%2Fquestions&q=texthere

Upvotes: 1

Related Questions