0

Say I have a site like stackoverflow. I need to add a search functionality, I need it to be good. I don't care if I have to add a logo (like if I am using a google search). What options do I have, with minimum of development and minimum server type dependency.
I am currently on Lamp (php).

EDIT:
Pardon, but I am talking about an open source application, which each user is installing on his server-machine (hence the requirement of not server specific). The goolge search, as far as I can see, I have to subscribe to it first, A process I wish users not have to do.

3 Answers 3

5

The Easy Way Out would be to add a custom Google search.

http://www.google.com/coop/cse/

3
  • Or similar, I know there is a provider that specializes in site wide searches for webcomics for example.
    – ewanm89
    Commented May 3, 2009 at 3:03
  • May I know the name of this provider? Is the site is webcomics.com? Commented May 3, 2009 at 3:12
  • 1
    ewanm89 might be talking about ohnorobot.com, which provides custom searches for over 1,500 comics, including xkcd.
    – user57365
    Commented May 3, 2009 at 3:17
1

Untested, but something like this has worked for me in the past:

<form action="http://www.google.com/search" onSubmit="this.q.value+=' site:mysite.com';return true">
<input name="q" />
</form>

Otherwise, perhaps this: http://www.google.com/sitesearch/

0

Ok so you added in the comment you're looking to integrate search into a desktop application. I've used ht://Dig with pretty good success in the past, but it seems to have lost some momentum. More advanced, modern applications tend to use Apache Lucene which will require a significant amount of integration.

If you're looking for something bit higher level, check out solr, which classifies itself as an "open source enterprise search server".

Not the answer you're looking for? Browse other questions tagged or ask your own question.