MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

Refactor Blacklight RSolr connection initialization to support alternative RSolr configurations #490

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-305: Currently, the RSolr initialization and configuration is contained within Blacklight.init (with a white-list configuration), making it very difficult to implement alternative RSolr connection modes, connection options, or otherwise. [1]

I intend to refactor the RSolr connection into distinct methods, which would be trivially overridden in local applications [2]. This change should be backwards compatible.

[1] https://github.com/projectblacklight/blacklight/blob/959ad06640ca713c1c9eefa763f842d59130b231/lib/blacklight.rb#L32 [2] https://gist.github.com/a995e86b244ae8db99d8

MrDys commented 12 years ago

Original reporter: cbeer