SolrIndexOperationService#getLastIndexOperationTime(IndexData) instead@Deprecated public class LukeSolrIndexStatisticsProvider extends Object implements SolrIndexStatisticsProvider
SolrIndexStatisticsProvider that reads last index time of index core (defined by
IndexedType) from SOLR instance configured by SolrConfig.| Constructor and Description |
|---|
LukeSolrIndexStatisticsProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getLastIndexTime(FacetSearchConfig facetSearchConfig,
IndexedType indexedType)
Deprecated.
Returns last index date of the given indexed type.
|
Object |
getLukeSatatisticsValue(Index index,
SolrClient solrClient,
String parameterName)
Deprecated.
Queries the solr instance for '/luke' statistics and returns object value of the corresponding parameterName from
the parameters group 'index'.
|
SolrSearchProviderFactory |
getSolrSearchProviderFactory()
Deprecated.
|
void |
setSolrSearchProviderFactory(SolrSearchProviderFactory solrSearchProviderFactory)
Deprecated.
|
public LukeSolrIndexStatisticsProvider()
public Date getLastIndexTime(FacetSearchConfig facetSearchConfig, IndexedType indexedType)
SolrIndexStatisticsProvidernew Date(0l) should be returned.getLastIndexTime in interface SolrIndexStatisticsProviderDatepublic Object getLukeSatatisticsValue(Index index, SolrClient solrClient, String parameterName)
index - - IndexsolrClient - - SolrClientparameterName - - name of the parameter from the 'index' group.public SolrSearchProviderFactory getSolrSearchProviderFactory()
public void setSolrSearchProviderFactory(SolrSearchProviderFactory solrSearchProviderFactory)
Copyright © 2017 SAP SE. All Rights Reserved.