Class StatisticsLuceneFields
java.lang.Object
io.goobi.viewer.model.statistics.usage.StatisticsLuceneFields
Contains field names of STATISTICS_USAGE SOLR documents
- Author:
- florian
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
SOLR field name containing the date at which the statistics were recordedstatic final String
SOLR field prefix for fields containing request counts for individual record identifiers.static final DateTimeFormatter
Format dates to/from the string representation used in SOLRstatic final String
DOCTYPE field value for usage statistics documentsstatic final String
SOLR field name containing the name of the viewer instance -
Method Summary
-
Field Details
-
SOLR_DATE_FORMATTER
Format dates to/from the string representation used in SOLR -
USAGE_STATISTICS_DOCTYPE
DOCTYPE field value for usage statistics documents- See Also:
-
VIEWER_NAME
SOLR field name containing the name of the viewer instance- See Also:
-
DATE
SOLR field name containing the date at which the statistics were recorded- See Also:
-
RECORD_STATISTICS_PREFIX
SOLR field prefix for fields containing request counts for individual record identifiers. The full field name consists of the prefix followed by a record identifier- See Also:
-
-
Method Details
-
getFieldName
Get the complete SOLR field name for a given record identifier- Parameters:
pi
- the record identifier- Returns:
String
-
getPi
Get the record identifier from the given SOLR field name- Parameters:
fieldname
-- Returns:
- the record identifier
-