mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged 5.2.N (5.2.2) to HEAD (5.2)
137058 gjames: Merged searchrep (5.2.1) to 5.2.N (5.2.1) 136805 msuzuki: Search-340, changed range to a collection as it may handle many range facets git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137573 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -61,7 +61,7 @@ public class SearchQuery
|
||||
private final boolean includeRequest;
|
||||
private final List<Pivot> pivots;
|
||||
private final List<StatsRequestParameters> stats;
|
||||
private final RangeParameters ranges;
|
||||
private final List<RangeParameters> ranges;
|
||||
private final String timezone;
|
||||
|
||||
public static final SearchQuery EMPTY = new SearchQuery(null, null, null, null, null, null,
|
||||
@@ -87,7 +87,7 @@ public class SearchQuery
|
||||
@JsonProperty("facetIntervals")IntervalParameters facetIntervals,
|
||||
@JsonProperty("pivots") List<Pivot> pivots,
|
||||
@JsonProperty("stats") List<StatsRequestParameters> stats,
|
||||
@JsonProperty("ranges") RangeParameters ranges,
|
||||
@JsonProperty("ranges") List<RangeParameters> ranges,
|
||||
@JsonProperty("timezone") String timezone)
|
||||
{
|
||||
this.query = query;
|
||||
@@ -201,7 +201,7 @@ public class SearchQuery
|
||||
return stats;
|
||||
}
|
||||
|
||||
public RangeParameters getFacetRanges()
|
||||
public List<RangeParameters> getFacetRanges()
|
||||
{
|
||||
return ranges;
|
||||
}
|
||||
|
Reference in New Issue
Block a user