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

Pull request for the bug in the inline documentation