Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
20
core/modules/search/config/install/search.settings.yml
Normal file
20
core/modules/search/config/install/search.settings.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
and_or_limit: 7
|
||||
default_page: node_search
|
||||
index:
|
||||
cron_limit: 100
|
||||
overlap_cjk: true
|
||||
minimum_word_size: 3
|
||||
tag_weights:
|
||||
h1: 25
|
||||
h2: 18
|
||||
h3: 15
|
||||
h4: 14
|
||||
h5: 9
|
||||
h6: 6
|
||||
u: 3
|
||||
b: 3
|
||||
i: 3
|
||||
strong: 3
|
||||
em: 3
|
||||
a: 10
|
||||
logging: false
|
90
core/modules/search/config/schema/search.schema.yml
Normal file
90
core/modules/search/config/schema/search.schema.yml
Normal file
|
@ -0,0 +1,90 @@
|
|||
# Schema for the configuration files of the search module.
|
||||
|
||||
search.settings:
|
||||
type: config_object
|
||||
label: 'Search settings'
|
||||
mapping:
|
||||
and_or_limit:
|
||||
type: integer
|
||||
label: 'AND/OR combination limit'
|
||||
default_page:
|
||||
type: string
|
||||
label: 'Default search page'
|
||||
index:
|
||||
type: mapping
|
||||
label: 'Indexing settings'
|
||||
mapping:
|
||||
cron_limit:
|
||||
type: integer
|
||||
label: 'Number of items to index per cron run'
|
||||
overlap_cjk:
|
||||
type: boolean
|
||||
label: 'Simple CJK handling'
|
||||
minimum_word_size:
|
||||
type: integer
|
||||
label: 'Minimum word length to index'
|
||||
tag_weights:
|
||||
type: mapping
|
||||
label: 'HTML tags weight'
|
||||
mapping:
|
||||
h1:
|
||||
type: integer
|
||||
label: 'Tag h1 weight'
|
||||
h2:
|
||||
type: integer
|
||||
label: 'Tag h2 weight'
|
||||
h3:
|
||||
type: integer
|
||||
label: 'Tag h3 weight'
|
||||
h4:
|
||||
type: integer
|
||||
label: 'Tag h4 weight'
|
||||
h5:
|
||||
type: integer
|
||||
label: 'Tag h5 weight'
|
||||
h6:
|
||||
type: integer
|
||||
label: 'Tag h6 weight'
|
||||
u:
|
||||
type: integer
|
||||
label: 'Tag u weight'
|
||||
b:
|
||||
type: integer
|
||||
label: 'Tag b weight'
|
||||
i:
|
||||
type: integer
|
||||
label: 'Tag i weight'
|
||||
strong:
|
||||
type: integer
|
||||
label: 'Tag strong weight'
|
||||
em:
|
||||
type: integer
|
||||
label: 'Tag em weight'
|
||||
a:
|
||||
type: integer
|
||||
label: 'Tag a weight'
|
||||
logging:
|
||||
type: boolean
|
||||
label: 'Log searches'
|
||||
|
||||
search.page.*:
|
||||
type: config_entity
|
||||
label: 'Search page'
|
||||
mapping:
|
||||
id:
|
||||
type: string
|
||||
label: 'ID'
|
||||
label:
|
||||
type: label
|
||||
label: 'Label'
|
||||
path:
|
||||
type: string
|
||||
label: 'Search page path'
|
||||
weight:
|
||||
type: integer
|
||||
label: 'Weight'
|
||||
plugin:
|
||||
type: string
|
||||
label: 'Plugin'
|
||||
configuration:
|
||||
type: search.plugin.[%parent.plugin]
|
40
core/modules/search/config/schema/search.views.schema.yml
Normal file
40
core/modules/search/config/schema/search.views.schema.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Schema for the views plugins of the Search module.
|
||||
|
||||
views.argument.search:
|
||||
type: views_argument
|
||||
label: 'Query key'
|
||||
|
||||
views.field.search_score:
|
||||
type: views.field.numeric
|
||||
label: 'Search score'
|
||||
mapping:
|
||||
alternate_sort:
|
||||
type: string
|
||||
label: 'Alternative sort'
|
||||
alternate_order:
|
||||
type: string
|
||||
label: 'Alternate sort order'
|
||||
|
||||
views.filter.search:
|
||||
type: views_filter
|
||||
label: 'Link to node'
|
||||
mapping:
|
||||
operator:
|
||||
type: string
|
||||
label: 'On empty input'
|
||||
|
||||
views.filter_value.search_keywords:
|
||||
type: string
|
||||
label: 'Search keywords'
|
||||
|
||||
views.row.search_view:
|
||||
type: views_row
|
||||
label: 'Source link'
|
||||
mapping:
|
||||
score:
|
||||
type: boolean
|
||||
label: 'Display score'
|
||||
|
||||
views.sort.search_score:
|
||||
type: views_sort
|
||||
label: 'Search score'
|
Reference in a new issue