Class ItemCountDAOSolr

java.lang.Object
org.dspace.browse.ItemCountDAOSolr
All Implemented Interfaces:
ItemCountDAO

public class ItemCountDAOSolr extends Object implements 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 Details

  • Constructor Details

    • ItemCountDAOSolr

      public ItemCountDAOSolr()
  • Method Details

    • getCount

      public int getCount(Context context, DSpaceObject dso)
      Get the count of the items in the given container.
      Specified by:
      getCount in interface ItemCountDAO
      Parameters:
      context - DSpace context
      dso - DspaceObject
      Returns:
      count