Enable Solr on Dspace

open
config/xmlui.xconf
comment this
<!--<aspect name="Searching Artifacts" path="resource://aspects/SearchArtifacts/" />-->
remove comment from
       <aspect name=”Discovery” path=”resource://aspects/Discovery/” />
 
------------
config/dspace.cfg
remove comment from this line
event.dispatcher.default.consumers = versioning, search, browse, discovery, eperson, harvester
 
and comment 
event.dispatcher.default.consumers = versioning, search, browse, eperson, harvester

 

change
#recent.submissions.count = 5
to
recent.submissions.count = 0
 
now rebuild solr index
/dspace/bin/dspace update-discovery-index
if there is an error
check solr data file if exist and has write permission
[dspace]/solr/search/data
[dspace]/solr/statistics/data
if not
do this

mkdir  [dspace]/solr/search/data
mkdir  [dspace]/solr/statistics/data
chown -R 777  [dspace]/solr/search/data
chown -R 777  [dspace]/solr/statistics/data

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s