Solr

From The Travis van der Font Wiki
Jump to: navigation, search

Location to put the 'solr' config files:

/home/apache-solr-1.4.1/drupal/solr/conf

Solr Connection Settings:

http:/examplesite.com/en/admin/config/search/apachesolr/settings/solr/edit?destination=admin/config/search/apachesolr/settings

Re-indexing from move:

http://examplesite.com/en/admin/config/search/search_api/index/product_display

http://examplesite.com/en/admin/config/search/search_api/server/solr_server

Installing Solr 1.4 (confirmed):

https://www.ivanzugec.com/how-setup-search-api-apache-sol

Downloading Solr 1.4:

https://archive.apache.org/dist/lucene/solr/1.4.1

Downloading Solr:

http://www.apache.org/dyn/closer.cgi/lucene/solr

Install Solr:

http://valuebound.com/resources/blog/installing-configuring-apache-solr-520-with-drupal-7-using-search-api-ubuntu-1404

Solr Administrator Panel: http://solr.server:8080/solr/admin

Installing from Commandline
# installing java
sudo apt-get install python-software-properties
apt install software-properties-common
add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

# installing solr
cd /tmp
wget http://apache.40b.nl/lucene/solr/7.1.0/solr-7.1.0.tgz
tar xzf solr-7.1.0.tgz solr-7.1.0/bin/install_solr_service.sh --strip-components=2
sudo ./install_solr_service.sh solr-7.1.0.tgz

To restart Solr (you must also restart tomcat) by running:

service tomcat6 restart

Solr log file location: /var/log/tomcat6

Original Versioning: drupal-4.0-solr-1.4

Other solr locations:

  • /etc/solr
  • /usr/share/solr

Location of Solr (data index software) UI:

http://<ip_address>:8080/solr/

http://<ip_address>:8983/solr/

Lucene 3.6.2 / SolrCore 1.0

  • cwd: /var/lib/tomcat6
  • SolrHome: /usr/share/solr/./
  • Config folder: /etc/solr/conf
  • Error log folder: /var/log/tomcat6/

References:

Drupal

Login: http://example.com/user/login

Database config file: /sites/default/settings.php