Ok, you certainly can NOT call vwrsearch (or any other REST, SOAP, or similar function) from an LSL script. The reason given is that the simulators are _inside_ the LL firewalls, meaning that they can access all sorts of things they shouldn't be allowed to. The answer is to reflect it off something external to SL, which is what many of the so-called servers do. However, there is another way to do it. I'll post up a new version that doesn't rely on having your own PHP code somewhere nor the Google App servers.
https://wiki.secondlife.com/wiki/N2K
(Improved someone else's idea)