Apache Solr Views
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.
|7.x-1.1-beta1||tar.gz (15.35 KB) | zip (21.46 KB)||2015年5月22日||发布说明||简 | 繁 | 更多|
|7.x-1.x-dev||tar.gz (15.52 KB) | zip (21.68 KB)||2017年8月10日||发布说明||简 | 繁 | 更多|