public class FacetConstants extends NodeConstants
NodeConstants.Labels| Modifier and Type | Field and Description |
|---|---|
static String |
FACET_FIELD_PREFIX |
static String |
FACET_GROUP
Used when inserting facets to specify the facet group they are to be
connected to.
|
static String |
NAME_FACET_GROUPS |
static String |
NAME_NO_FACET_GROUPS |
static String |
NO_FACET
Import option.
|
static String |
PROP_CUSTOM_ID
The custom ID may be specified during the import of facets.
|
static String |
PROP_NUM_ROOT_TERMS
The number of roots a facet has.
|
static String |
PROP_SHORT_NAME
An optional short name for display at places that lack more space.
|
static String |
PROP_SOURCE_TYPE
The type of content of the facet identified by
#PROP_SOURCE_NAME. |
static String |
SRC_TYPE_FLAT
Concepts without taxonomical relations between them.
|
static String |
SRC_TYPE_HIERARCHICAL
Taxonomically arranged concepts.
|
static String |
SRC_TYPE_STRINGS
No pre-defined concepts with a name and synonyms but just strings.
|
INDEX_ROOT_NODES, PROP_ID, PROP_LABELS, PROP_NAME, PROP_QUALIFIERS, PROP_VALUEKEY_LABELS| Constructor and Description |
|---|
FacetConstants() |
public static final String SRC_TYPE_HIERARCHICAL
public static final String SRC_TYPE_FLAT
public static final String SRC_TYPE_STRINGS
public static final String PROP_CUSTOM_ID
public static final String PROP_SOURCE_TYPE
#PROP_SOURCE_NAME. The
source type tells whether there are IDs of hierarchical terms to find in a
facet, or mere strings like dates or author names (as long as these are not
captured as concepts). Values should be one of the constants below.public static final String NAME_FACET_GROUPS
public static final String NAME_NO_FACET_GROUPS
public static final String FACET_GROUP
Used when inserting facets to specify the facet group they are to be connected to. This is the key under which the facet group information can be found in the map defining a facet.
Map<String, Object> facetGroupMap = new HashMap<>();
facetGroupMap.put(FacetGroupConstants.PROP_NAME, "myfacetgroup");
Map<String, Object> facetMap = new HashMap<>();
facetMap.put(FacetConstants.PROP_NAME, "myfacet");
facetMap.put(.,.);
facetMap.put(FACET_GROUP, facetGroupMap);
public static final String FACET_FIELD_PREFIX
public static final String NO_FACET
public static final String PROP_SHORT_NAME
public static final String PROP_NUM_ROOT_TERMS
Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.