app/search_builders/custom_range_limit_builder.rb
# A Solr param filter that is NOT included by default in the chain,
# but is appended by AdvancedController#index, to do a search
# for facets _ignoring_ the current query, we want the facets
# as if the current query weren't there.
#
# Also adds any solr params set in blacklight_config.advanced_search[:form_solr_parameters]
A Solr param filter that is NOT included by default in the chain,
but is appended by AdvancedController#index, to do a search
for facets _ignoring_ the current query, we want the facets
as if the current query weren't there.


A Solr param filter that is NOT included by default in the chain but is appended by AdvancedController#index to do a search for facets _ignoring_ the current query we want the facets as if the current query weren ' t there .
def facets_for_advanced_search_form(solr_p)
    solr_p["q"]            = '{!lucene}*:*'
    solr_p["defType"]      = 'lucene'
    solr_p["rows"]         = "0"
    if blacklight_config.advanced_search[:form_solr_parameters]
      solr_p.merge!(blacklight_config.advanced_search[:form_solr_parameters])
    end
  end
def facets_for_advanced_search_form ( solr_p ) solr_p [ "q" ] = '{!lucene}*:*' solr_p [ "defType" ] = 'lucene' solr_p [ "rows" ] = "0" if blacklight_config . advanced_search [ :form_solr_parameters ] solr_p . merge! ( blacklight_config . advanced_search [ :form_solr_parameters ] ) end end
A Solr param filter that is NOT included by default in the chain,
but is appended by AdvancedController#index, to do a search
for facets _ignoring_ the current query, we want the facets
as if the current query weren't there.
A Solr param filter that is NOT included by default in the chain but is appended by AdvancedController#index to do a search for facets _ignoring_ the current query we want the facets as if the current query weren ' t there .
# ensure empty query is all records, to fetch available facets on entire corpus # explicitly use lucene defType since we are passing a lucene query above (and appears to be required for solr 7) # We only care about facets, we don't need any rows. # Anything set in config as a literal
solr_p
<not_specific>