Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Adds additional stats field to the geocluster_solr module (part of the Geocluster module).

Its based on search_api hooks (and does not create a new service class), and it almost works without patching the geocluster module.

Unfortunately, the geocluster module has 1 function where it merges 2 search results that has no hooks, so there is a patch included in this module to fix that.

This is surely work in progress. Other plans:

- Finish the views integration (now all fields are just inserted into the geojson, there is little control over that)

- Allow for a hook or other way to fill in the description & title of the clusters depending on whether there is 1 or there are more results.

- Implement facets on each group (using stats.facet Though that will for now only work for single value facets https://issues.apache.org/jira/browse/SOLR-1782 This will alllow us to draw every cluster as a pie-chart, for ultimate sexiness

- More integration with the Geocluster OpenLayers module

Merging this into geocluster could also be an option.

Project information

  • Created by batje on , updated