On 9/25/07, Paul Grinberg gri6507@yahoo.com wrote:
Magnus Manske <magnusmanske@...> writes:
Freshly hacked: Add importScript('User:Magnus Manske/googlesearch.js'); to your monobook.js page. This will add a "google search" button in your sidebar.
Cheers, Magnus
D'oh! There's already one at [[Wikipedia:WikiProject User scripts/Scripts/Google link]]
Oh well...
I'm not able to view your googlesearch.js nor the wikipedia one. However, if I understand the premise of this code, it basically adds a search form to submint the requested query to google.com which will then search only your domain.
This application only works for wiki's that can be seen from the outside world. In the case of my wiki, which is a corporate repository if information, it is behind a firewall, such an approach simply would not work. Hence the need for a local search engine like Sphinx.
The google search has nothing to do with the lucene search. lucene works locally, like sphinx.
Magnus