diff --git a/config/install/search_api_federated_solr.search_app.settings.yml b/config/install/search_api_federated_solr.search_app.settings.yml new file mode 100644 index 000000000..9c1c11c91 --- /dev/null +++ b/config/install/search_api_federated_solr.search_app.settings.yml @@ -0,0 +1,17 @@ +facet: + site_name: + set_default: false +index: + id: '' + has_site_name_property: false + server_url: '' + username: '' + password: '' +content: + no_results: '' + search_prompt: '' +results: + rows: null +pagination: + buttons: null +path: /search-app diff --git a/config/schema/search_api_federated_solr.schema.yml b/config/schema/search_api_federated_solr.schema.yml new file mode 100644 index 000000000..905e7ca55 --- /dev/null +++ b/config/schema/search_api_federated_solr.schema.yml @@ -0,0 +1,57 @@ +# Schema for configuration files of the Search API Federated Solr module. + +search_api_federated_solr.search_app.settings: + type: config_object + label: 'Search API Federated Solr settings' + mapping: + path: + type: string + label: 'The path for the search app.' + facet: + type: mapping + mapping: + site_name: + type: mapping + mapping: + set_default: + type: boolean + label: 'When true, only search results from this site will be shown.' + index: + type: mapping + mapping: + id: + type: string + label: 'Defines which search_api index and server the search app should use.' + has_site_name_property: + type: boolean + label: 'Has site name flag.' + server_url: + type: string + label: 'The server url for the search app.' + username: + type: string + label: 'Basic Auth username.' + password: + type: string + label: 'Basic Auth password.' + content: + type: mapping + mapping: + no_results: + type: string + label: 'This text is shown when a query returns no results.' + search_prompt: + type: string + label: 'This text is shown when no query term has been entered.' + results: + type: mapping + mapping: + rows: + type: integer + label: 'The max number of results to render per search results page.' + pagination: + type: mapping + mapping: + buttons: + type: integer + label: 'The max number of numbered pagination buttons to show at a given time.'