XWIKI-8800: Inline rest documentation of search queries is not correct
(cherry picked from commit 2c3f14660acc4283774b2bacba6dbf1552931355)