Before you read further

If you are starting a new project, please read the "alternatives" section.

Introduction

This module provides a Views integration to the Apache Solr Search Integration project. It provides the views plugins and handlers needed to be able to create a view that fetches its results from Apachesolr index, without hitting the database.

Requirements

Requires Apache Solr Search. Requires the use of an Apachesolr search index.

Installation

Download and install the module as normal.

Configuration

First make sure that Apachesolr module is configured correctly. If in the page "admin/config/search/apachesolr/settings" the Apachesolr environment is green and working, you can test this by using the site search page. Create a view from admin/structure/views/add and choose Apachesolr search. All of the fields indexed in solr should be available as views fields/filters/sort. Configure the view as needed and save it.

Troubleshooting

Solr Devel can diagnose problems with solr entity indexing.
Solr admin adds even more options, and is usually available at:
http://[host]:8983/solr/admin/

Advantages

  • It is impossible to have duplicate results, unlike database views.
  • Queries do not hit the database, and so they offload the database server.
  • Views are very easy to customize, unlike search pages.

Limitations

Alternatives

Search API and Search API Solr Search modules can be used to create views with Apache Solr backend. This provides a more powerful, and better maintained views integration. If you are stuck with Apache Solr Search, then you probably want to install this module.

Maintainers

The 7.x branch is maintained by Miroslav Vladimirov Banov.
https://www.drupal.org/user/1509224

The 6.x branch is unmaintained.

Project Information

Downloads