then you need to recompile the documentation? strange.
in help.ubuntu-it.org we use a search.js file for each release documentation saved for example in /10.10/ubuntu/libs/search.js
Each time we update this valute: var cseId = "008742922050479854700:sgrtw8uh7hc";
For example, in this release I forgot to update the value of CSEL. It 'was enough to create a new custom search by including the sitemap of the new documentation, no need to rebuild.
You can try: http://help.ubuntu-it.org/10.10/ubuntu/search.php?s=test
My two cents, bye.