Upload
helior-colorado
View
7.862
Download
2
Tags:
Embed Size (px)
DESCRIPTION
This is step-by-step instructions on how to install Apache Solr on your own server and integrating it with your Drupal installation.
Citation preview
Apache Solr
by helior coloradoThursday, July 2, 2009
Drupal Search Process
Thursday, July 2, 2009
Drupal Search Process
cron.php
Thursday, July 2, 2009
Drupal Search Process
cron.php ∆ =node
search_index
Thursday, July 2, 2009
Drupal Search Process
cron.php ∆ =node
search_index
Thursday, July 2, 2009
Drupal Search Process
Thursday, July 2, 2009
Drupal Search Process
content
Thursday, July 2, 2009
Drupal Search Process
$resultscontent
acquia.com/blog/drupal-search-how-indexing-works
Thursday, July 2, 2009
Drupal Search Process
$resultscontent
Thursday, July 2, 2009
Drupal Search Process
indexeddatabase
Thursday, July 2, 2009
Drupal Search Process
‣ Search box will only scan index
indexeddatabase
Thursday, July 2, 2009
Drupal Search Process
‣ Search box will only scan index
‣ Must match search string exactly
indexeddatabase
Thursday, July 2, 2009
Drupal Search Process
‣ Search box will only scan index
‣ Must match search string exactly
‣ limited support of operators
indexeddatabase
Thursday, July 2, 2009
Drupal Search Process
‣ Search box will only scan index
‣ Must match search string exactly
‣ limited support of operators
‣ (-) exclude term
indexeddatabase
Thursday, July 2, 2009
Drupal Search Process
‣ Search box will only scan index
‣ Must match search string exactly
‣ limited support of operators
‣ (-) exclude term
‣ (type:) content-type specificindexeddatabase
Thursday, July 2, 2009
Installing Apache Solr Search Server for Drupal
What you will need:
Thursday, July 2, 2009
Installing Apache Solr Search Server for Drupal
What you will need:
‣ Hosting that supports Java
Thursday, July 2, 2009
Installing Apache Solr Search Server for Drupal
What you will need:
‣ Hosting that supports Java
‣ Access to Command Line
Thursday, July 2, 2009
Install Java
# apt-get install sun-java6-jdk
Thursday, July 2, 2009
Get Solr Search Server
# wget http://people.apache.org/builds/lucene/solr/nightly/your-nightly-build.zip
http://people.apache.org/builds/lucene/solr/nightly/Get your nightly build at
# unzip your-nightly-build.zip
Thursday, July 2, 2009
Install Apache Solr Module
http://drupal.org/project/apachesolrInstall but don’t enable!
Thursday, July 2, 2009
Get Solr PHP Client
# svn checkout -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient
# mv SolrPhpClient drupal-root/sites/all/modules/apachesolr/
Thursday, July 2, 2009
Enable Apache Solr Module
✓Solr Framework✓Solr Search Components
Thursday, July 2, 2009
Get Solr PHP Client
# cd apache-solr/example# java -jar start.jar
Check to see if server is running..http://your-site:8983/solr/admin/form.jsp
Is it working with Drupal?
Thursday, July 2, 2009
Get Solr PHP Client
# cp drupal-root/sites/all/modules/schema.xml apache-solr/example/solr/conf/
# cp drupal-root/sites/all/modules/solrconfig.xml apache-solr/example/solr/conf/
Thursday, July 2, 2009