-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: None
-
Component/s: Discovery, DSpace API
-
Labels:
-
Environment:
*Location*: http://demo.dspace.org/
*User-Agent*: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0
*Screen Resolution*: 1024 x 768
-
Attachments:
-
Comments:2
HI,
After i install dspace and create 02 community and 02 collection.
I run command dspace index-init
This is error
Exception: Caching is not supported by the ItemCountDAOSolr as it is not really needed, Solr is faster!
org.dspace.browse.ItemCountException: Caching is not support bu the ItemCoubntDAOSolr as ity is not really needed,
------
File dspace.cfg
-
-
-
-
- Settings for item count (strength) information ####
-
-
-
- whether to display collection and community strengths
- (Since DSpace 4.0, this config option is used by XMLUI, too.
- XMLUI only makes strengths available to themes if this is set to true!
- To show strengths in the XMLUI, you also need to create a theme which displays them)
webui.strengths.show = true
- if showing strengths, should they be counted in real time or
- fetched from cache?
# - Counts fetched in real time will perform an actual count of the
- database contents every time a page with this feature is requested,
- which will not scale. The default behaviour is to use a cache (see
- ItemCounter configuration)
# - The default is to use a cache
#
webui.strengths.cache = false
-
-
-
-
-
- ItemCounter Configuration ######
#
- ItemCounter Configuration ######
-
-
-
-
- Define the DAO class to use. This must correspond to your choice of
- storage for the browse system (RDBMS: PostgreSQL or Oracle, Solr).
- By default, since DSpace 4.0, the Solr implementation is used.
# - Only if you use a DBMS implementation and want to use the cache
- (recommended!), you must run the following command periodically
- to update the count:
# - [dspace]/bin/itemcounter (NOT required if you use the Solr implementation)
#
# - PostgreSQL:
- ItemCountDAO.class = org.dspace.browse.ItemCountDAOPostgres
# - Oracle:
- ItemCountDAO.class = org.dspace.browse.ItemCountDAOOracle
# - Solr:
- ItemCountDAO.class = org.dspace.browse.ItemCountDAOSolr
-
-
-
-
-
- Browse Configuration ######
#
- Browse Configuration ######
-
-
-
-
- Define the DAO class to use this must meet your storage choice for
- the browse system (RDBMS: PostgreSQL or Oracle, Solr).
- By default, since DSpace 4.0, the Solr implementation is used
# - PostgreSQL:
- browseDAO.class = org.dspace.browse.BrowseDAOPostgres
- browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres
# - Oracle:
- browseDAO.class = org.dspace.browse.BrowseDAOOracle
- browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOOracle
# - Solr:
- browseDAO.class = org.dspace.browse.SolrBrowseDAO
- browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO
Reporter: NGUYỄN HÙNG THANH
E-mail: nghungthanh@gmail.com