Package org.mycore.oai
Class MCROAISolrSearcher
java.lang.Object
org.mycore.oai.MCROAISearcher
org.mycore.oai.MCROAISolrSearcher
Solr searcher implementation. Uses cursors.
- Author:
- Matthias Eichner
-
Field Summary
Fields inherited from class org.mycore.oai.MCROAISearcher
expire, id, identify, metadataFormat, partitionSize, runningExpirationTimer, setManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the earliest created/modified record time stamp.Optional<org.mycore.oai.pmh.Header>
protected MCROAISolrResult
Methods inherited from class org.mycore.oai.MCROAISearcher
getConfigPrefix, getExpirationTime, getID, getMetadataFormat, getObjectManager, getPartitionSize, getSetManager, init, isExpired, updateRunningExpirationTimer
-
Field Details
-
LOGGER
-
-
Constructor Details
-
MCROAISolrSearcher
public MCROAISolrSearcher()
-
-
Method Details
-
getHeader
- Specified by:
getHeader
in classMCROAISearcher
-
query
- Specified by:
query
in classMCROAISearcher
-
query
- Specified by:
query
in classMCROAISearcher
-
solrQuery
protected MCROAISolrResult solrQuery(Optional<String> cursor) throws org.apache.solr.client.solrj.SolrServerException, IOException - Throws:
org.apache.solr.client.solrj.SolrServerException
IOException
-
getEarliestTimestamp
Description copied from class:MCROAISearcher
Returns the earliest created/modified record time stamp. If the earliest time stamp cannot be retrieved an empty optional is returned.- Specified by:
getEarliestTimestamp
in classMCROAISearcher
- Returns:
- the earliest created/modified time stamp
-