Merged 5.2.N (5.2.1) to HEAD (5.2)

129193 mmuller: Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
      129042 jvonka: V1 REST API: Sites Live Search (/queries/live-search-sites)
      - add experimental option (for review) to choose sort type
      - fix post query sort to use AlfrescoCollator rather than RuleBasedCollator (latter ignores spaces)
      - fix post query sort to apply paging correctly (get results first) - TODO add test
      REPO-232, REPO-882, REPO-883


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@129367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alexandru Epure
2016-08-09 14:16:40 +00:00
parent 139f3137b4
commit 5fd392b1ce
3 changed files with 200 additions and 43 deletions

View File

@@ -63,7 +63,11 @@ public interface Queries
static int MIN_TERM_LENGTH_PEOPLE = 2;
// Sites query
static int MIN_TERM_LENGTH_SITES = 2;
static String PARAM_SITE_ID = "id";
static String PARAM_SITE_TITLE = "title";
static String PARAM_SITE_DESCRIPTION = "description";
static int MIN_TERM_LENGTH_SITES = 2;
static String PARAM_SORT_TYPE = "sortType"; // TODO review
/**
* Find Nodes