View Marcus Povey's plugins
(Edit your project's description!)
This is a very short and sweet plugin which replaces the standard Elgg search plugin with Google Search.
This makes use of the Google REST search api. Don't forget that for this to work your elgg theme should use the pg/search endpoint.
@Uddhava dasa - this plugin would not cause protected areas on your site to become indexed. However, it would limit the usability of the search to only that which is indexed (public to) by Google's bots. This makes this plugin quite useless. A decent querying system at the core of Elgg is what is necessary, so that everything can be pulled up in results and accessed, based on permissions levels. ...I really don't understand why this plugin was contributed. There are more important things to be done at the core, by someone who knows the core very well.
No site is ever completely public. People post materials for logged in users or with permissions based on the group. So, if your users were wanting to find something through your Google based search, they will be limited to whatever is totally public. Again, this makes this plugin useless. If people need to Google your site, then let them go off and Google it.
If you use one of the custom widget mods then all you have to do is go and create an adsense for search box that will fit in your widget.Depending on the mods you use this could go on the dashboard, the profile or the main page. If you are knowledgeeable enough you could even put it in the spotlight or top bar yourself. Where and how it looks will depend upon you. But it can be set to just search your site, the whole web or a set of sites you choose.