cancel
Showing results for 
Search instead for 
Did you mean: 

Cutting down FTS alfresco results

denger_spaghett
Champ on-the-rise
Champ on-the-rise

Hi, is there a way to cut down the number of results from a query? For example I only want to get the top 10 results.

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

If you are using the JAVA API, try something like this:

https://gist.github.com/cmlewis/09b13f16d1c40f459939#file-alfrescoexecuteunlimitedsearch-java-L6

Hyland Developer Evangelist

View answer in original post

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

If you are using the JAVA API, try something like this:

https://gist.github.com/cmlewis/09b13f16d1c40f459939#file-alfrescoexecuteunlimitedsearch-java-L6

Hyland Developer Evangelist