Sarnia allows a Drupal site to interact with and display data from Solr cores with arbitrary schemas, mainly by building views. This is useful for Solr cores that index large, external (ie, non-Drupal) datasets that either aren't practical to store in Drupal or that are already indexed in Solr.
Sarnia treats records from Solr as Drupal entities, although listing, filtering, and displaying Sarnia entities should be done using Views. Solr properties can be formatted within Views fields using field formatters (hook_field_formatter_info(), hook_field_formatter_view()).
There is user documentation with screenshots in the handbook.
This module depends on Search API, Search API Solr, and Views.
Latest development
- 7.x-1.1 depends on the latest patch from #1413504: Clearing cache results in fatal error because autoloader isn't registered yet (patch)
- Random sorts in Views can be added with #1197538: Random sort in Views (patch)
- "Is empty" Views filters have been added to Sarnia, but should be moved to Search API Views #1318904: "is empty" views filter operator (patch)
- There is now working FacetAPI integration (requires search_api_facetapi, which is included in the Search API project)
The Sarnia project contains a drush makefile that applies the first two patches from above. If you reference Sarnia in a makefile, it will download and patch Search API and Search API Solr for you.
This module was developed by Palantir.net, and sponsored by the Field Museum of Natural History.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 26 sites currently report using this module. View usage statistics.
- Downloads: 231
- Last modified: May 3, 2012