Apache Solr Views


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.


Apache Solr Views项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
2950
维护状态: 
积极维护中
开发状态: 
仅修复BUG,不添加新功能

推荐版本下载:

版本下载地址发布日期发布说明翻译下载
7.x-1.1-beta1tar.gz (15.35 KB) | zip (21.46 KB)2015年5月22日发布说明简 | 繁 | 更多

开发版本下载:

版本下载地址发布日期发布说明翻译下载
7.x-1.x-devtar.gz (15.4 KB) | zip (21.53 KB)2016年1月14日发布说明简 | 繁 | 更多