Difference between revisions of "SUNScholar/Discovery/3.X"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
#[[SUNScholar/Prepare_Ubuntu/S05#Step_5.2.1:_Setup_.22authbind.22_for_Tomcat|Tomcat is listening on TCP port 80.]] | #[[SUNScholar/Prepare_Ubuntu/S05#Step_5.2.1:_Setup_.22authbind.22_for_Tomcat|Tomcat is listening on TCP port 80.]] | ||
#[[SUNScholar/Install_DSpace/S08|The SOLR webapp is correctly published.]] | #[[SUNScholar/Install_DSpace/S08|The SOLR webapp is correctly published.]] | ||
| + | |||
| + | ==Step 1== | ||
| + | Edit the solr search URL in the discovery service setup file. | ||
| + | nano /home/dspace/source/dspace/config/modules/discovery.cfg | ||
| + | Make sure the solr URL is as follows by removing port 8080. See example below. | ||
| + | <pre> | ||
| + | #---------------------------------------------------------------# | ||
| + | #-----------------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 | ||
| + | </pre> | ||
| + | {{NANO}} | ||
==Step 2== | ==Step 2== | ||
Revision as of 14:48, 9 December 2013
Requirements
Before attempting SOLR discovery setup please make sure the following are correct:
Step 1
Edit the solr search URL in the discovery service setup file.
nano /home/dspace/source/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
Back to SOLR Discovery