Package org.dspace.browse
Class ItemCountDAOSolr
java.lang.Object
org.dspace.browse.ItemCountDAOSolr
- All Implemented Interfaces:
ItemCountDAO
Discovery (Solr) driver implementing ItemCountDAO interface to look up item
count information in communities and collections. Caching operations are
intentionally not implemented because Solr already is our cache.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCount(Context context, DSpaceObject dso) Get the count of the items in the given container.
-
Field Details
-
searchService
Solr search service
-
-
Constructor Details
-
ItemCountDAOSolr
public ItemCountDAOSolr()
-
-
Method Details
-
getCount
Get the count of the items in the given container.- Specified by:
getCountin interfaceItemCountDAO- Parameters:
context- DSpace contextdso- DspaceObject- Returns:
- count
-