On Jan 6, 2012, at 10:52 AM, Jinyan Su wrote:
Thanks.
Is there a pointer to using XWQL to limit the query? (I've only started
using xwiki.)
Definitely don't want it trolling through all spaces in the wiki.
http://platform.xwiki.org/xwiki/bin/view/DevGuide/QueryGuide
-Vincent
--Xiao Su
On Fri, Jan 6, 2012 at 5:43 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Jan 6, 2012, at 10:39 AM, Guillaume Lerouge wrote:
>
>> Hi,
>>
>> one note: be careful when using something like this on your whole wiki.
> It
>> can have unexpected side effects (like replacing parts of words in place
>> you didn't expect) and you'll have no quick way to rollback (you'll
have
> to
>> do it manually, page by page).
>
> Good point, I've added the warning to the snippet page.
>
> @Jinyan: You can tune the XWQL query to limit it to a given space or
> documents by adding for ex:
>
> "… and doc.space == 'yourspace' … "
> "… and doc.name == 'name of the doc'… "
>
> -Vincent
>
>> Guillaume
>>
>> On Fri, Jan 6, 2012 at 10:36 AM, Jinyan Su <xiaosu(a)sujinyan.com> wrote: