cancel
Showing results for 
Search instead for 
Did you mean: 

Search and maximize the result set

jenskock
Champ in-the-making
Champ in-the-making
Hi,

Is it possible to search a specific space, order the results on the created_date (most recent first) and maximeze the results to 15 (so, actually, I want the 15 most recent document is a space) with Lucene from a template?

Thanks,

jens
1 REPLY 1

brian_robinson
Champ in-the-making
Champ in-the-making
Hi Jens,

Consider using a Java backed web script (see http://wiki.alfresco.com/wiki/Web_Scripts), and have a look at these two search reference pages:
Via these means, you will be able to code up a search on a specific space with ordered results.  For details on limiting results, see this post: http://forums.alfresco.com/en/viewtopic.php?f=13&t=17277