lib/blacklight/solr/request.rb in blacklight-5.13.0 vs lib/blacklight/solr/request.rb in blacklight-5.13.1
- old
+ new
@@ -1,11 +1,10 @@
class Blacklight::Solr::InvalidParameter < ArgumentError; end
class Blacklight::Solr::Request < HashWithIndifferentAccess
- SINGULAR_KEYS = %W{ facet fl q qt rows start spellcheck spellcheck.q sort
- per_page wt hl group defType}
- ARRAY_KEYS = %W{facet.field facet.query facet.pivot fq hl.fl }
+ SINGULAR_KEYS = %w{facet fl q qt rows start spellcheck spellcheck.q sort per_page wt hl group defType}
+ ARRAY_KEYS = %w{facet.field facet.query facet.pivot fq hl.fl}
def initialize(constructor = {})
if constructor.is_a?(Hash)
super()
update(constructor)