Search API Solr Boundingbox Search

Categories

Component ID

2183305

Component name

Search API Solr Boundingbox Search

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2634

Component created

Component changed

Component body

Adds basic boundingbox search support to Solr 3.4+.
(Has been tested with Solr 4.4 only.)

It uses views_geojson to create a geojson feed.
The geojson display has to have a contextual filter of type 'Custom: Bounding box' on it and the 'Query argument ID' has to be set to 'bbox' (see also views_geojson README.txt).
When using openlayers on the geojson layer the boundingbox option has to be checked.
This will add the bbox query argument to the geojson feed's url.

Apply the following patches:
https://drupal.org/files/issues/1839554_views_geojson_bbox_argument_handler_fixes_15.patch
https://drupal.org/files/bbox_on_all_views.patch

For more background information, see the following sources:
Bounding Box support with Search API views
BBox argument handler fixes
enable bbox filter on all views