lib/sunspot/configuration.rb in sunspot-0.9.8 vs lib/sunspot/configuration.rb in sunspot-0.10.0

- old
+ new

@@ -26,13 +26,27 @@ LightConfig.build do http_client :net_http solr do url 'http://127.0.0.1:8983/solr' end + master_solr do + url nil + end pagination do default_per_page 30 end end + end + + # Location for the default solr configuration files, + # required for bootstrapping a new solr installation + # + # ==== Returns + # + # String:: Directory with default solr config files + # + def solr_default_configuration_location + File.join( File.dirname(__FILE__), '../../solr/solr/conf' ) end end end end