Tag Archives: Apache Solr

Drupal 7 – Setup Apache Solr for site search

1. Download Apache Solr 3.4 and extract it.
 

2. Also download the Drupal Apache Solr Search Integration module.
 

3. In the extracted Solr folder. go to ./example/solr/conf.
 

4. Backup the following files by rename them. Continue reading Drupal 7 – Setup Apache Solr for site search

Drupal – Add Image to Apache Solr Search Result

Apache Solr is a very good web search engine and it works very well with Drupal. This post shows you how to customize the default pure text search result template by adding node image to each result record.

First, we need to load the corresponding node for each search result. This can be done in the <theme>_preprocess_search_result(&$variables) function. Add it to the template.php. Continue reading Drupal – Add Image to Apache Solr Search Result