Difference between revisions of "SUNScholar/Search Indexes"

From Libopedia
Jump to navigation Jump to search
Line 50: Line 50:
  
 
{{CONSOLE}}
 
{{CONSOLE}}
 
  
 
  '''[[SUNScholar/Indexes|Back to Indexes]]'''
 
  '''[[SUNScholar/Indexes|Back to Indexes]]'''
 
__NOTOC__
 
__NOTOC__

Revision as of 13:10, 8 December 2012

!!! WARNING !!!

https://jira.duraspace.org/browse/DS-1070

Not a good idea to enable Discovery in DSpace version 1.7.2

Introduction

This wiki help page assumes that you have used the three system setup procedures to install an Ubuntu server with DSpace software.

Before attempting SOLR discovery setup please make sure the following are correct:

  1. Tomcat is listening on TCP port 80.
  2. The SOLR webapp is correctly published.

Step 1

Setup solr search URL in config file.

nano /home/dspace/dspace-1.8.2-src-release/dspace/config/modules/discovery.cfg

Make sure the solr URL is as follows by removing port 8080. See example below.

#---------------------------------------------------------------#
#-----------------DISCOVERY CONFIGURATIONS----------------------#
#---------------------------------------------------------------#
# Configuration properties used solely by the Discovery         #
# faceted-search system.                                        #
#---------------------------------------------------------------#
##### Search Indexing #####
search.server = http://localhost/solr/search

#Char used to ensure that the sidebar facets are case insensitive
#solr.facets.split.char=|||

#All metadata fields that will not end up in the index, this is a comma separated list
index.ignore=dc.description.provenance

NANO Editor Help
CTL+O = Save the file and then press Enter
CTL+X = Exit "nano"
CTL+K = Delete line
CTL+U = Undelete line
CTL+W = Search for %%string%%
CTL+\ = Search for %%string%% and replace with $$string$$
CTL+C = Show line numbers

More info = http://en.wikipedia.org/wiki/Nano_(text_editor)


Step 2

Please refer to the official DSpace documentation

Step 3

Type the following to rebuild the discovery index.

/home/dspace/bin/dspace update-discovery-index

Check SOLR webapp operation

If you have problems with the SOLR webapp, then complete the following to check its operation.

Install the "lynx" application.

sudo apt-get install lynx

Then type the following in the console:

lynx http://localhost/solr

OR

lynx http://localhost:8080/solr

You should get the following:

Lynx-solr.png

If not debug the solr webapp until you can.

Remember to restart the Tomcat server for each change you make to a webapp configuration.

Template:CONSOLE

Back to Indexes