Difference between revisions of "SUNScholar/Search Indexes"
| Line 1: | Line 1: | ||
<font color="red">'''This procedure assumes that you have used the [[SUNScholar/Dspace|three step process]] to install DSpace and are using the XMLUI as default.'''</font> | <font color="red">'''This procedure assumes that you have used the [[SUNScholar/Dspace|three step process]] to install DSpace and are using the XMLUI as default.'''</font> | ||
| − | + | ==Introduction== | |
Before attempting SOLR discovery setup please make sure the following are correct: | Before attempting SOLR discovery setup please make sure the following are correct: | ||
#[[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.]] | ||
| + | |||
| + | {{SOLR-WEBAPP}} | ||
| + | |||
==Step 1== | ==Step 1== | ||
Setup solr search URL in config file. | Setup solr search URL in config file. | ||
| Line 21: | Line 24: | ||
Type the following to rebuild the discovery index. | Type the following to rebuild the discovery index. | ||
sudo /home/dspace/bin/dspace update-discovery-index -b | sudo /home/dspace/bin/dspace update-discovery-index -b | ||
| − | |||
| − | |||
Revision as of 11:11, 5 September 2012
This procedure assumes that you have used the three step process to install DSpace and are using the XMLUI as default.
Introduction
Before attempting SOLR discovery setup please make sure the following are correct:
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:
If not debug the solr webapp until you can.
Remember to restart the Tomcat server for each change you make to a webapp configuration.
Step 1
Setup solr search URL in config file.
nano /home/dspace/dspace-1.7.2-src-release/dspace/config/dspace-solr-search.cfg
Make sure the solr URL is as follows by removing port 8080.
##### Search Indexing ##### solr.search.server = http://localhost/solr/search
- 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
- https://wiki.duraspace.org/display/DSDOC18/Discovery
- http://www.dspace.org/1_7_1Documentation/Discovery.html
Step 3
Type the following to rebuild the discovery index.
sudo /home/dspace/bin/dspace update-discovery-index -b
