My search

Custom Search

Making Apache Solr the only search engine available  

Sunday, July 12, 2009


· · · ·

Last modified: July 12, 2009 - 06:26

DImportant note: Much of the functionality of 'Suppress Search' module has been integrated into 'Apache Solr Search Integration' module since version 6.x-1.0-rc1 of 2009-Jul-02. Read more at http://drupal.org/node/504808#comment-1766820

This how-to handbook is for absolute beginners.

We are now going to disable the default Drupal search engine. Then make Apache Solr the only search engine available. This is a big performance improvement for large Drupal site.

There are currently two modules able to do this. CORE SEARCHES & SUPRESS SEARCH. CORE SEARCH module modify Drupal core whereas SUPPRESS SEARCH does not. Modifying Drupal core is consider really bad by the Drupal community. You should not modify Drupal core. But override it instead. For this reason this handbook will use the SUPRESS SEARCH module.

Download and install SUPRESS SEARCH module.

Navigate to ADMINISTER > SITE CONFIGURATION > SUPPRESS SEARCH SETTINGS
Under section SEARCH FORM SUBMIT PATH type in

search/apachesolr_search/

Check HIDE CONTENT TAB box.
Check HIDE USERS TAB box.

Click on SAVE CONFIGURATION button.

Click on EMPTY CORE SEARCH INDEX button.
Drupal will ask

Are you sure you want to empty core's search index?

Click on EMPTY CORE SEARCH INDEX button again.

If successful the last two lines of the EMPTY SEARCH INDEX section should now read.

AddThis Social Bookmark Button


free counters
 
Design by Amanda @ Blogger Buster