Thanks for your quick response Sergiu. The wiki is a path-based wiki.
That is strange, it should work perfectly well in a virtual wiki, and
you can try to see that it works on the *.xwiki.org farm, and on
incubator.myxwiki.org.
You can check with Firebug or HttpHeaders to check where does the
suggest request go to, maybe there's something weird in the URL setup.
Normally, the request goes to something like:
"${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
Here, ${request.contextPath} is usually /xwiki, and ${context.database}
is the name of the virtual wiki.
Could it be that you're using a path-based virtual wiki?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/