public class StatisticsDataSearches extends StatisticsData
| Modifier and Type | Field and Description |
|---|---|
protected DSpaceObject |
currentDso
Current DSpaceObject for which to generate the statistics.
|
solrLoggerService| Constructor and Description |
|---|
StatisticsDataSearches(DSpaceObject dso) |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
createDataset(Context context)
Run the accumulated query and return its results.
|
protected String |
getQuery()
Returns the query to be used in solr
in case of a dso a scopeDso query will be returned otherwise the default *:* query will be used
|
protected String |
getSearchFilterQuery()
Returns a filter query that only allows new searches to pass
new searches are searches that haven't been paged through
|
protected ObjectCount |
getTotalPageViews(String query,
String defaultFilterQuery) |
addDatasetGenerator, addFilters, getDataset, getDatasetGenerators, getFilters, setDatasetprotected DSpaceObject currentDso
public StatisticsDataSearches(DSpaceObject dso)
public Dataset createDataset(Context context) throws SQLException, org.apache.solr.client.solrj.SolrServerException, IOException, ParseException
StatisticsDatacreateDataset in class StatisticsDataSQLExceptionorg.apache.solr.client.solrj.SolrServerExceptionIOExceptionParseExceptionprotected String getQuery()
protected ObjectCount getTotalPageViews(String query, String defaultFilterQuery) throws org.apache.solr.client.solrj.SolrServerException
org.apache.solr.client.solrj.SolrServerExceptionprotected String getSearchFilterQuery()
Copyright © 2022 LYRASIS. All rights reserved.