facets_summary.facets_summary.schema.yml 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
facets_summary.facets_summary.*:
  type: config_entity
  label : 'Facet'
  mapping:
    id:
      type: string
      label: 'ID'
    name:
      type: label
      label: 'Name'
    facet_source_id:
      type: string
      label: 'Facet source id'
    processor_configs:
      type: sequence
      label: 'Processor settings'
      sequence:
        type: mapping
        label: 'A processor'
        mapping:
          processor_id:
            type: string
            label: 'The plugin ID of the processor'
          weights:
            type: sequence
            label: 'The processors weight for this stage'
            sequence:
              type: string
              label: 'the weight'
          settings:
            type: plugin.plugin_configuration.facets_summary_processor.[%parent.processor_id]
    facets:
      type: sequence
      label: 'Facets configuration'
      sequence:
        type: mapping
        label: 'Facet'
        mapping:
          checked:
            type: boolean
            label: 'Is this facet enabled'
          label:
            type: string
            label: 'Label'
            translatable: true
          separator:
            type: string
            label: 'Results separator'
            translatable: true
          show_count:
            type: boolean
            label: 'Show count on items'
          weight:
            type: integer
            label: 'Facet Weight'