public class ModelUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static List<String> |
enumFacetList |
static int |
FACET_LIMIT |
protected static List<String> |
solrFacetList |
protected static List<String> |
technicalFacetList |
| Constructor and Description |
|---|
ModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsTechnicalFacet(List<String> mixedFacets) |
static boolean |
containsTechnicalFacet(String[] mixedFacets) |
static SpellCheck |
convertSpellCheck(org.apache.solr.client.solrj.response.SpellCheckResponse response) |
static String |
decodeFacetTag(Integer tag,
boolean name)
if boolean name = true, returns the facet name associated with the tag value
otherwise, returns the facet label
|
static Map<String,String[]> |
separateAndLimitFacets(String[] mixedFacetArray,
boolean defaultFacetsRequested) |
public static final int FACET_LIMIT
public static String decodeFacetTag(Integer tag, boolean name)
tag - numerically encoded technical facet tagname - whether to return the tag name (true) or label (false)public static boolean containsTechnicalFacet(String[] mixedFacets)
public static SpellCheck convertSpellCheck(org.apache.solr.client.solrj.response.SpellCheckResponse response)
Copyright © 2017. All rights reserved.