-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from palantirnet/PL-34-schema-settings
PL-34 Add module schema and settings
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
config/install/search_api_federated_solr.search_app.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.' |