cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene query with sort capacities

pacozf
Champ in-the-making
Champ in-the-making
Hello,

I try to make a lucene query with sort capacities for Alfresco 2.1.

I am trying it with luceneSearch(query) function, but I do not know how I have to write the sort instruction in the query.

I know that modern version of alfresco has another lucen search function that leave sort instruction as parameter, but this do not work in my alfresco version.

Thank,
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
you can use the searchparameter class where you can set the sorting related parameter
and you that for search