This project is not covered by Drupal’s security advisory policy.
Before you read further
If you are starting a new project, please read the "alternatives" section.
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.
Requires Apache Solr Search. Requires the use of an Apachesolr search index.
Download and install the module as normal.
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.
Solr Devel can diagnose problems with solr entity indexing.
Solr admin adds even more options, and is usually available at:
- 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.
- Exposed filters are only textfields. See .
- Search facets are supported, but may not work reliably in combination with views filters.
- Search sort block is not supported. See .
- Multiple Apachesolr views on the same page do not work See .
- Most entity field types are not sent to Solr, and will not be available as views handlers. Apachesolr views doesn't index the fields itself. This is done from other modules by implementing hook_apachesolr_field_mappings().
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.
The 7.x branch is maintained by Miroslav Vladimirov Banov.
The 6.x branch is unmaintained.
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Module categories: Search, Views
- Reported installs: 2,740 sites currently report using this module. View usage statistics.
- Downloads: 44,450
- Automated tests: Enabled
- Last modified: February 19, 2016
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.