XWIKI-8800 - Inline rest document of search queries is not correct

Fix for the incorrect inline documentation.