[xwiki-users] velocity page search
16 Oct
2014
16 Oct
'14
10:40 p.m.
Hello all, I have some "brute force" velocity code that basically iterates all my spaces looking for a page, then checks if the page is "new" or not. if the page is "new" I know that the page doesn't exist in that space and so I go to the next space and repeat until I find a page that is NOT new. Once I have the page I then do some stuff with it. This works ok in my small environment, but makes me cringe when I think about scalability. Does anyone know a way in Velocity to return a URL from a search of all pages in all spaces in my wiki quickly? I'd sure like to be able to say $search.pages(page-to-search) or something like that.. Thanks in advance..
4334
Age (days ago)
4334
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jason Clemons