Commit Graph

3 Commits

Author SHA1 Message Date
helpfulrobot
314feddd48 Converted to PSR-2 2015-11-21 19:19:20 +13:00
Hamish Friedlander
3d18903552 API Add support for Solr 4 and make it the default
Solr::configure_server now takes "version" as one of the keys in the
option array, and behaves slightly differently depending on whether
that version is 3 or 4, to provide support for both Solr versions.

The Solr extras and templates have also moved, so that different
versions can be provided for the two different Solr versions.
2013-11-08 15:03:47 +13:00
Hamish Friedlander
b6fe2ff17d Make how Solr_Configure uploads config replaceable
Solr_Configure takes the `indexstore.mode` configuration variable to set how
to upload new configuration to the Solr server. However the various modes
were within Solr_Configure and you couldnt add more without altering the module

This changes Solr_Configure to make the configuration upload portion
contained with a seperate class thats selected via `indexstore.mode`
to fix that.
2013-09-11 14:37:36 +12:00