AnsweredAssumed Answered

Is Lucene Query Support Sorting as CMIS Query?

Question asked by ankit6190 on Dec 21, 2012
Latest reply on Dec 28, 2012 by ankit6190
Hello,
I want to retrieve all the document from alfresco using webservice  api…
I can retrieve all the document using following code

RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();        
       
        // Create a query object, looking for all items with alfresco in the name of text
        Query query = new Query(Constants.QUERY_LANG_LUCENE, "ALL :'Koala'");
       
        // Execute the query
        QueryResult queryResult = repositoryService.query(STORE, query, false);
       
        // Display the results
        ResultSet resultSet = queryResult.getResultSet();
       
But if i want to Retrieve Sorted Data using Lucene Query then ?
It is possible with Lucene ?

Outcomes