User Tools

Site Tools


en:user_advanced:solr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user_advanced:solr [2017/12/11 03:02] – [Accessing Solr Admin] anupamaen:user_advanced:solr [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ======Indexing Using SOLR====== ======Indexing Using SOLR======
  
Line 5: Line 8:
 See http://lucene.apache.org/solr/ for more details about SOLR. See http://lucene.apache.org/solr/ for more details about SOLR.
  
-There is only rudimentary, partial support in GLI for building a Greenstone collection with solr as the indexer. At present, GLI will preserve solr-specific elements, such as the ''option'' subelement of ''index'' below, as well as ''solr'' and ''facet'' elements. Building a SOLR collection in GLI has 2 drawbacks in Greenstone 3.06rc1: +There is only rudimentary, partial support in //GLI// for building a Greenstone collection with solr as the indexer. At present, GLI will preserve solr-specific elements, such as the ''option'' subelement of ''index'' mentioned below, as well as ''solr'' and ''facet'' elements. Building a SOLR collection in GLI has 2 drawbacks in Greenstone 3.06rc1: 
-  * Building a solr collection in GLI will stop the Greenstone server before building the collection and restart it when the collection has been rebuilt +  * Building a solr collection in GLI will stop the Greenstone server before building the collection and restart it when the collection has been rebuilt. In more recent versions of GS3 this is no longer a problem, as newer GS3 versions do not stop and start the server for building a solr collection any more. 
-  * Java 7 is needed to successfully build a solr collection in GLI, at least on Windows. For this to work, you will first need to have a JDK 7 installed on your machine (with the JAVA_HOME environment variable set up, and with JAVA_HOME/bin added to your PATH environment variable). Secondly, you will need to move your Greenstone 3 installation's ''packages/jre'' out of the way before running GLI, so that GLI finds your Java 7 instead.+  * Java 7is needed to successfully build a solr collection in GLI, at least on Windows. For this to work, you will first need to have a JDK 7 installed on your machine (with the JAVA_HOME environment variable set up, and with JAVA_HOME/bin added to your PATH environment variable). Secondly, you will need to move your Greenstone 3 installation's ''packages/jre'' out of the way before running GLI, so that GLI finds your Java 7 instead.
  
 ====== Accessing Solr Admin ====== ====== Accessing Solr Admin ======
   * In the case of a Greenstone server and client running on the same PC, open up http://127.0.0.1:8383/solr in your browser   * In the case of a Greenstone server and client running on the same PC, open up http://127.0.0.1:8383/solr in your browser
-  * In the case of a remote Greenstone server, you need to forward ports by ssh -L 8383:127.0.0.1:8383 greenstoneserver+  * In the case of a remote Greenstone server, you need to forward ports. Assuming the default GS3 port 8383, on a Linux terminal you'd do:\\ ''ssh -L 8383:127.0.0.1:8383 <greenstone-server-machine>''
  
 ==== Using analyzers specifically suited to different languages  ==== ==== Using analyzers specifically suited to different languages  ====
en/user_advanced/solr.1512961349.txt.gz · Last modified: 2017/12/11 03:02 by anupama