Difference between revisions of "SUNScholar/Search Indexes"

From Libopedia
Jump to navigation Jump to search
Line 3: Line 3:
 
Setup solr search URL in config file.
 
Setup solr search URL in config file.
 
  nano /home/dspace/dspace-1.7.2-src-release/dspace/config/dspace-solr-search.cfg
 
  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.
+
[[SUNScholar/Prepare_Ubuntu/S05#Step_5.2.1:_Setup_.22authbind.22_for_Tomcat|Make sure the solr URL is as follows by removing port 8080.]]
 
  <pre>
 
  <pre>
 
##### Search Indexing #####
 
##### Search Indexing #####

Revision as of 10:51, 5 September 2012

This procedure assumes that you have used the three step process to install DSpace and are using the XMLUI as default.

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

Step 3

Type the following to rebuild the discovery index.

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