mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
DS-2897 deprecate ElasticSearch Statistics
This commit is contained in:
@@ -16,6 +16,10 @@ import org.dspace.usage.AbstractUsageEventListener;
|
||||
import org.dspace.usage.UsageEvent;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/*
|
||||
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||
* @see org.dspace.statistics.service.SolrLoggerUsageEventListener#SolrLoggerUsageEventListener
|
||||
*/
|
||||
public class ElasticSearchLoggerEventListener extends AbstractUsageEventListener {
|
||||
|
||||
private static Logger log = Logger.getLogger(ElasticSearchLoggerEventListener.class);
|
||||
|
@@ -51,6 +51,10 @@ import java.net.URL;
|
||||
import java.sql.SQLException;
|
||||
import java.util.*;
|
||||
|
||||
/*
|
||||
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||
* @see org.dspace.statistics.SolrLoggerServiceImpl#SolrLoggerServiceImpl
|
||||
*/
|
||||
public class ElasticSearchLoggerServiceImpl implements ElasticSearchLoggerService, InitializingBean {
|
||||
|
||||
private static Logger log = Logger.getLogger(ElasticSearchLoggerServiceImpl.class);
|
||||
|
@@ -22,6 +22,9 @@ import java.util.HashMap;
|
||||
* Service interface class for the Elastic Search logging.
|
||||
* The implementation of this class is responsible for all business logic calls for the Elastic Search logging and is autowired by spring
|
||||
*
|
||||
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||
* @see org.dspace.statistics.service.SolrLoggerService#SolrLoggerService
|
||||
*
|
||||
* @author kevinvandevelde at atmire.com
|
||||
*/
|
||||
public interface ElasticSearchLoggerService {
|
||||
|
@@ -45,6 +45,10 @@ import java.util.List;
|
||||
/**
|
||||
* Usage Statistics viewer, powered by Elastic Search.
|
||||
* Allows for the user to dig deeper into the statistics for topDownloads, topCountries, etc.
|
||||
*
|
||||
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||
* @see org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer#StatisticsTransformer
|
||||
*
|
||||
* @author Peter Dietz (pdietz84@gmail.com)
|
||||
*/
|
||||
public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer {
|
||||
|
@@ -3,10 +3,13 @@
|
||||
#---------------------------------------------------------------#
|
||||
# Configuration properties used solely by the ElasticSearch #
|
||||
# Statistics Engine. By default, DSpace uses a Solr-based #
|
||||
# Statistics Engine (see solr-statistics.cfg). #
|
||||
# Statistics Engine (see solr-statistics.cfg) and since #
|
||||
# DSpace 6 this ElasticSearch-based module has been DEPRECATED #
|
||||
# in favour of the older, Solr-based module. #
|
||||
# See also: usage-statistics.cfg #
|
||||
#---------------------------------------------------------------#
|
||||
# Elastic Search Engine for UsageEvent Statistics
|
||||
#
|
||||
## Elastic Search Engine for UsageEvent Statistics
|
||||
#elastic-search-statistics.clusterName = dspacestatslogging
|
||||
#elastic-search-statistics.indexName = dspaceindex
|
||||
#elastic-search-statistics.indexType = stats
|
||||
|
Reference in New Issue
Block a user