mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
SEARCH-121: Facet fields need to return a List in the search context
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130683 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -35,9 +35,9 @@ public class SearchContext
|
||||
private final Consistency consistency;
|
||||
private final List<FacetQueryContext> facetQueries;
|
||||
private final SpellCheckContext spellCheck;
|
||||
private final FacetFieldContext facetsFields;
|
||||
private final List<FacetFieldContext> facetsFields;
|
||||
|
||||
public SearchContext(long lastTxId, List<FacetQueryContext> facetQueries, FacetFieldContext facetsFields, SpellCheckContext spellCheck)
|
||||
public SearchContext(long lastTxId, List<FacetQueryContext> facetQueries, List<FacetFieldContext> facetsFields, SpellCheckContext spellCheck)
|
||||
{
|
||||
this.spellCheck = spellCheck;
|
||||
if (lastTxId > 0)
|
||||
@@ -67,7 +67,7 @@ public class SearchContext
|
||||
return spellCheck;
|
||||
}
|
||||
|
||||
public FacetFieldContext getFacetsFields()
|
||||
public List<FacetFieldContext> getFacetsFields()
|
||||
{
|
||||
return facetsFields;
|
||||
}
|
||||
|
Reference in New Issue
Block a user