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..
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to