Skip to content

Instantly share code, notes, and snippets.

@carolyncole
Created December 4, 2015 16:05
Show Gist options
  • Save carolyncole/5e26ce0515b865452cc9 to your computer and use it in GitHub Desktop.
Save carolyncole/5e26ce0515b865452cc9 to your computer and use it in GitHub Desktop.
catalog
config.add_search_field('all_fields', label: 'All Fields', include_in_advanced_search: false) do |field|
all_names = config.index.search_fields.join(" ")
field.solr_parameters = {
qf: "#{all_names} id all_text_timv",
pf: "title_ssi"
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment