Drupal - Search view not triggering Solr request











up vote
0
down vote

favorite












I have a view that comes from a .yml file. It is supposed to show an index I created manually. However, when I import the yaml file manually, the search is not triggered (i.e. when I enable Solr Search Devel, it does not yield any information regarding any search, and the server doesn't receive any request).



The strange thing is that if I manually create (through the GUI) the exact same view, the search is properly triggered, and Solr Search Devel shows informations on the search.



Why is my view not calling the Search API ? Could it be linked to something else than the yaml file itself ?



Here is my yml



langcode: en
status: true
dependencies:
enforced:
module:
- gref
config:
- field.storage.node.field_author_name
- field.storage.node.field_isbn
- field.storage.node.field_number_of_pages
- field.storage.node.field_summary
- search_api.index.books_index
module:
- search_api
- text
id: gref_books_search_view
label: 'Gref Books Search View'
module: views
description: ''
tag: ''
base_table: search_api_index_books_index
base_field: search_api_id
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: none
options: { }
cache:
type: tag
options: { }
query:
type: views_query
options:
bypass_access: false
skip_access: false
exposed_form:
type: basic
options:
submit_button: Rechercher
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: '‹‹'
next: '››'
style:
type: html_list
options:
grouping: { }
row_class: result-element
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
fields:
title:
id: title
table: search_api_index_books_index
field: title
relationship: none
group_type: group
admin_label: ''
label: Title
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: result_title
element_label_type: ''
element_label_class: title_label
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
field_author_name:
id: field_author_name
table: search_api_index_books_index
field: field_author_name
relationship: none
group_type: group
admin_label: ''
label: 'Author Name'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 50
word_boundary: false
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: true
preserve_tags: ''
html: false
element_type: ''
element_class: result_author
element_label_type: ''
element_label_class: author_label
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
entity_type: null
entity_field: null
plugin_id: search_api_field
field_summary:
id: field_summary
table: search_api_index_books_index
field: field_summary
relationship: none
group_type: group
admin_label: ''
label: Summary
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 100
word_boundary: false
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: true
preserve_tags: ''
html: false
element_type: ''
element_class: result_summary
element_label_type: ''
element_label_class: summary_label
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
field_number_of_pages:
id: field_number_of_pages
table: search_api_index_books_index
field: field_number_of_pages
relationship: none
group_type: group
admin_label: ''
label: 'No. Pages'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: result_no_pages
element_label_type: ''
element_label_class: no_pages_label
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api_numeric
fallback_options:
set_precision: false
precision: 0
decimal: .
separator: ','
format_plural: false
format_plural_string: !!binary MQNAY291bnQ=
prefix: ''
suffix: ''
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
format_plural_values:
- '1'
- '@count'
plugin_id: search_api_field
field_isbn:
id: field_isbn
table: search_api_index_books_index
field: field_isbn
relationship: none
group_type: group
admin_label: ''
label: ISBN
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: result_isbn
element_label_type: ''
element_label_class: isbn_label
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: text_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_rendering: true
fallback_handler: search_api
fallback_options:
link_to_item: false
use_highlighting: false
multi_type: separator
multi_separator: ', '
plugin_id: search_api_field
filters:
search_api_fulltext:
id: search_api_fulltext
table: search_api_index_books_index
field: search_api_fulltext
relationship: none
group_type: group
admin_label: ''
operator: and
value: ''
group: 1
exposed: true
expose:
operator_id: search_api_fulltext_op
label: ''
description: ''
use_operator: false
operator: search_api_fulltext_op
identifier: search_api_fulltext
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
parse_mode: terms
min_length: null
fields: { }
plugin_id: search_api_fulltext
sorts: { }
title: 'Recherche dans les livres'
header: { }
footer: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: 'No results were found.'
format: basic_html
plugin_id: text
relationships: { }
arguments: { }
display_extenders: { }
use_ajax: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags:
- 'config:field.storage.node.field_author_name'
- 'config:field.storage.node.field_isbn'
- 'config:field.storage.node.field_number_of_pages'
- 'config:field.storage.node.field_summary'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: gref/books
cache:
type: none
defaults:
cache: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags:
- 'config:field.storage.node.field_author_name'
- 'config:field.storage.node.field_isbn'
- 'config:field.storage.node.field_number_of_pages'
- 'config:field.storage.node.field_summary'









share|improve this question


























    up vote
    0
    down vote

    favorite












    I have a view that comes from a .yml file. It is supposed to show an index I created manually. However, when I import the yaml file manually, the search is not triggered (i.e. when I enable Solr Search Devel, it does not yield any information regarding any search, and the server doesn't receive any request).



    The strange thing is that if I manually create (through the GUI) the exact same view, the search is properly triggered, and Solr Search Devel shows informations on the search.



    Why is my view not calling the Search API ? Could it be linked to something else than the yaml file itself ?



    Here is my yml



    langcode: en
    status: true
    dependencies:
    enforced:
    module:
    - gref
    config:
    - field.storage.node.field_author_name
    - field.storage.node.field_isbn
    - field.storage.node.field_number_of_pages
    - field.storage.node.field_summary
    - search_api.index.books_index
    module:
    - search_api
    - text
    id: gref_books_search_view
    label: 'Gref Books Search View'
    module: views
    description: ''
    tag: ''
    base_table: search_api_index_books_index
    base_field: search_api_id
    core: 8.x
    display:
    default:
    display_plugin: default
    id: default
    display_title: Master
    position: 0
    display_options:
    access:
    type: none
    options: { }
    cache:
    type: tag
    options: { }
    query:
    type: views_query
    options:
    bypass_access: false
    skip_access: false
    exposed_form:
    type: basic
    options:
    submit_button: Rechercher
    reset_button: true
    reset_button_label: Reset
    exposed_sorts_label: 'trier par'
    expose_sort_order: true
    sort_asc_label: Asc
    sort_desc_label: Desc
    pager:
    type: mini
    options:
    items_per_page: 10
    offset: 0
    id: 0
    total_pages: null
    expose:
    items_per_page: false
    items_per_page_label: 'Items per page'
    items_per_page_options: '5, 10, 25, 50'
    items_per_page_options_all: false
    items_per_page_options_all_label: '- All -'
    offset: false
    offset_label: Offset
    tags:
    previous: '‹‹'
    next: '››'
    style:
    type: html_list
    options:
    grouping: { }
    row_class: result-element
    default_row_class: true
    type: ul
    wrapper_class: item-list
    class: ''
    row:
    type: fields
    fields:
    title:
    id: title
    table: search_api_index_books_index
    field: title
    relationship: none
    group_type: group
    admin_label: ''
    label: Title
    exclude: false
    alter:
    alter_text: false
    text: ''
    make_link: false
    path: ''
    absolute: false
    external: false
    replace_spaces: false
    path_case: none
    trim_whitespace: false
    alt: ''
    rel: ''
    link_class: ''
    prefix: ''
    suffix: ''
    target: ''
    nl2br: false
    max_length: 0
    word_boundary: true
    ellipsis: true
    more_link: false
    more_link_text: ''
    more_link_path: ''
    strip_tags: false
    trim: false
    preserve_tags: ''
    html: false
    element_type: ''
    element_class: result_title
    element_label_type: ''
    element_label_class: title_label
    element_label_colon: true
    element_wrapper_type: ''
    element_wrapper_class: ''
    element_default_classes: true
    empty: ''
    hide_empty: false
    empty_zero: false
    hide_alter_empty: true
    click_sort_column: value
    type: string
    settings:
    link_to_entity: false
    group_column: value
    group_columns: { }
    group_rows: true
    delta_limit: 0
    delta_offset: 0
    delta_reversed: false
    delta_first_last: false
    multi_type: separator
    separator: ', '
    field_api_classes: false
    field_rendering: true
    fallback_handler: search_api
    fallback_options:
    link_to_item: false
    use_highlighting: false
    multi_type: separator
    multi_separator: ', '
    plugin_id: search_api_field
    field_author_name:
    id: field_author_name
    table: search_api_index_books_index
    field: field_author_name
    relationship: none
    group_type: group
    admin_label: ''
    label: 'Author Name'
    exclude: false
    alter:
    alter_text: false
    text: ''
    make_link: false
    path: ''
    absolute: false
    external: false
    replace_spaces: false
    path_case: none
    trim_whitespace: false
    alt: ''
    rel: ''
    link_class: ''
    prefix: ''
    suffix: ''
    target: ''
    nl2br: false
    max_length: 50
    word_boundary: false
    ellipsis: true
    more_link: false
    more_link_text: ''
    more_link_path: ''
    strip_tags: false
    trim: true
    preserve_tags: ''
    html: false
    element_type: ''
    element_class: result_author
    element_label_type: ''
    element_label_class: author_label
    element_label_colon: true
    element_wrapper_type: ''
    element_wrapper_class: ''
    element_default_classes: true
    empty: ''
    hide_empty: false
    empty_zero: false
    hide_alter_empty: true
    click_sort_column: value
    type: string
    settings:
    link_to_entity: false
    group_column: value
    group_columns: { }
    group_rows: true
    delta_limit: 0
    delta_offset: 0
    delta_reversed: false
    delta_first_last: false
    multi_type: separator
    separator: ', '
    field_api_classes: false
    field_rendering: true
    fallback_handler: search_api
    fallback_options:
    link_to_item: false
    use_highlighting: false
    multi_type: separator
    multi_separator: ', '
    entity_type: null
    entity_field: null
    plugin_id: search_api_field
    field_summary:
    id: field_summary
    table: search_api_index_books_index
    field: field_summary
    relationship: none
    group_type: group
    admin_label: ''
    label: Summary
    exclude: false
    alter:
    alter_text: false
    text: ''
    make_link: false
    path: ''
    absolute: false
    external: false
    replace_spaces: false
    path_case: none
    trim_whitespace: false
    alt: ''
    rel: ''
    link_class: ''
    prefix: ''
    suffix: ''
    target: ''
    nl2br: false
    max_length: 100
    word_boundary: false
    ellipsis: true
    more_link: false
    more_link_text: ''
    more_link_path: ''
    strip_tags: false
    trim: true
    preserve_tags: ''
    html: false
    element_type: ''
    element_class: result_summary
    element_label_type: ''
    element_label_class: summary_label
    element_label_colon: true
    element_wrapper_type: ''
    element_wrapper_class: ''
    element_default_classes: true
    empty: ''
    hide_empty: false
    empty_zero: false
    hide_alter_empty: true
    click_sort_column: value
    type: string
    settings:
    link_to_entity: false
    group_column: value
    group_columns: { }
    group_rows: true
    delta_limit: 0
    delta_offset: 0
    delta_reversed: false
    delta_first_last: false
    multi_type: separator
    separator: ', '
    field_api_classes: false
    field_rendering: true
    fallback_handler: search_api
    fallback_options:
    link_to_item: false
    use_highlighting: false
    multi_type: separator
    multi_separator: ', '
    plugin_id: search_api_field
    field_number_of_pages:
    id: field_number_of_pages
    table: search_api_index_books_index
    field: field_number_of_pages
    relationship: none
    group_type: group
    admin_label: ''
    label: 'No. Pages'
    exclude: false
    alter:
    alter_text: false
    text: ''
    make_link: false
    path: ''
    absolute: false
    external: false
    replace_spaces: false
    path_case: none
    trim_whitespace: false
    alt: ''
    rel: ''
    link_class: ''
    prefix: ''
    suffix: ''
    target: ''
    nl2br: false
    max_length: 0
    word_boundary: true
    ellipsis: true
    more_link: false
    more_link_text: ''
    more_link_path: ''
    strip_tags: false
    trim: false
    preserve_tags: ''
    html: false
    element_type: ''
    element_class: result_no_pages
    element_label_type: ''
    element_label_class: no_pages_label
    element_label_colon: true
    element_wrapper_type: ''
    element_wrapper_class: ''
    element_default_classes: true
    empty: ''
    hide_empty: false
    empty_zero: false
    hide_alter_empty: true
    click_sort_column: value
    type: number_integer
    settings:
    thousand_separator: ''
    prefix_suffix: true
    group_column: value
    group_columns: { }
    group_rows: true
    delta_limit: 0
    delta_offset: 0
    delta_reversed: false
    delta_first_last: false
    multi_type: separator
    separator: ', '
    field_api_classes: false
    field_rendering: true
    fallback_handler: search_api_numeric
    fallback_options:
    set_precision: false
    precision: 0
    decimal: .
    separator: ','
    format_plural: false
    format_plural_string: !!binary MQNAY291bnQ=
    prefix: ''
    suffix: ''
    link_to_item: false
    use_highlighting: false
    multi_type: separator
    multi_separator: ', '
    format_plural_values:
    - '1'
    - '@count'
    plugin_id: search_api_field
    field_isbn:
    id: field_isbn
    table: search_api_index_books_index
    field: field_isbn
    relationship: none
    group_type: group
    admin_label: ''
    label: ISBN
    exclude: false
    alter:
    alter_text: false
    text: ''
    make_link: false
    path: ''
    absolute: false
    external: false
    replace_spaces: false
    path_case: none
    trim_whitespace: false
    alt: ''
    rel: ''
    link_class: ''
    prefix: ''
    suffix: ''
    target: ''
    nl2br: false
    max_length: 0
    word_boundary: true
    ellipsis: true
    more_link: false
    more_link_text: ''
    more_link_path: ''
    strip_tags: false
    trim: false
    preserve_tags: ''
    html: false
    element_type: ''
    element_class: result_isbn
    element_label_type: ''
    element_label_class: isbn_label
    element_label_colon: true
    element_wrapper_type: ''
    element_wrapper_class: ''
    element_default_classes: true
    empty: ''
    hide_empty: false
    empty_zero: false
    hide_alter_empty: true
    click_sort_column: value
    type: text_default
    settings: { }
    group_column: value
    group_columns: { }
    group_rows: true
    delta_limit: 0
    delta_offset: 0
    delta_reversed: false
    delta_first_last: false
    multi_type: separator
    separator: ', '
    field_api_classes: false
    field_rendering: true
    fallback_handler: search_api
    fallback_options:
    link_to_item: false
    use_highlighting: false
    multi_type: separator
    multi_separator: ', '
    plugin_id: search_api_field
    filters:
    search_api_fulltext:
    id: search_api_fulltext
    table: search_api_index_books_index
    field: search_api_fulltext
    relationship: none
    group_type: group
    admin_label: ''
    operator: and
    value: ''
    group: 1
    exposed: true
    expose:
    operator_id: search_api_fulltext_op
    label: ''
    description: ''
    use_operator: false
    operator: search_api_fulltext_op
    identifier: search_api_fulltext
    required: false
    remember: false
    multiple: false
    remember_roles:
    authenticated: authenticated
    anonymous: '0'
    administrator: '0'
    placeholder: ''
    is_grouped: false
    group_info:
    label: ''
    description: ''
    identifier: ''
    optional: true
    widget: select
    multiple: false
    remember: false
    default_group: All
    default_group_multiple: { }
    group_items: { }
    parse_mode: terms
    min_length: null
    fields: { }
    plugin_id: search_api_fulltext
    sorts: { }
    title: 'Recherche dans les livres'
    header: { }
    footer: { }
    empty:
    area:
    id: area
    table: views
    field: area
    relationship: none
    group_type: group
    admin_label: ''
    empty: true
    tokenize: false
    content:
    value: 'No results were found.'
    format: basic_html
    plugin_id: text
    relationships: { }
    arguments: { }
    display_extenders: { }
    use_ajax: true
    cache_metadata:
    max-age: -1
    contexts:
    - 'languages:language_content'
    - 'languages:language_interface'
    - url
    - url.query_args
    tags:
    - 'config:field.storage.node.field_author_name'
    - 'config:field.storage.node.field_isbn'
    - 'config:field.storage.node.field_number_of_pages'
    - 'config:field.storage.node.field_summary'
    page_1:
    display_plugin: page
    id: page_1
    display_title: Page
    position: 1
    display_options:
    display_extenders: { }
    path: gref/books
    cache:
    type: none
    defaults:
    cache: false
    cache_metadata:
    max-age: -1
    contexts:
    - 'languages:language_content'
    - 'languages:language_interface'
    - url
    - url.query_args
    tags:
    - 'config:field.storage.node.field_author_name'
    - 'config:field.storage.node.field_isbn'
    - 'config:field.storage.node.field_number_of_pages'
    - 'config:field.storage.node.field_summary'









    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a view that comes from a .yml file. It is supposed to show an index I created manually. However, when I import the yaml file manually, the search is not triggered (i.e. when I enable Solr Search Devel, it does not yield any information regarding any search, and the server doesn't receive any request).



      The strange thing is that if I manually create (through the GUI) the exact same view, the search is properly triggered, and Solr Search Devel shows informations on the search.



      Why is my view not calling the Search API ? Could it be linked to something else than the yaml file itself ?



      Here is my yml



      langcode: en
      status: true
      dependencies:
      enforced:
      module:
      - gref
      config:
      - field.storage.node.field_author_name
      - field.storage.node.field_isbn
      - field.storage.node.field_number_of_pages
      - field.storage.node.field_summary
      - search_api.index.books_index
      module:
      - search_api
      - text
      id: gref_books_search_view
      label: 'Gref Books Search View'
      module: views
      description: ''
      tag: ''
      base_table: search_api_index_books_index
      base_field: search_api_id
      core: 8.x
      display:
      default:
      display_plugin: default
      id: default
      display_title: Master
      position: 0
      display_options:
      access:
      type: none
      options: { }
      cache:
      type: tag
      options: { }
      query:
      type: views_query
      options:
      bypass_access: false
      skip_access: false
      exposed_form:
      type: basic
      options:
      submit_button: Rechercher
      reset_button: true
      reset_button_label: Reset
      exposed_sorts_label: 'trier par'
      expose_sort_order: true
      sort_asc_label: Asc
      sort_desc_label: Desc
      pager:
      type: mini
      options:
      items_per_page: 10
      offset: 0
      id: 0
      total_pages: null
      expose:
      items_per_page: false
      items_per_page_label: 'Items per page'
      items_per_page_options: '5, 10, 25, 50'
      items_per_page_options_all: false
      items_per_page_options_all_label: '- All -'
      offset: false
      offset_label: Offset
      tags:
      previous: '‹‹'
      next: '››'
      style:
      type: html_list
      options:
      grouping: { }
      row_class: result-element
      default_row_class: true
      type: ul
      wrapper_class: item-list
      class: ''
      row:
      type: fields
      fields:
      title:
      id: title
      table: search_api_index_books_index
      field: title
      relationship: none
      group_type: group
      admin_label: ''
      label: Title
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_title
      element_label_type: ''
      element_label_class: title_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      field_author_name:
      id: field_author_name
      table: search_api_index_books_index
      field: field_author_name
      relationship: none
      group_type: group
      admin_label: ''
      label: 'Author Name'
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 50
      word_boundary: false
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: true
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_author
      element_label_type: ''
      element_label_class: author_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      entity_type: null
      entity_field: null
      plugin_id: search_api_field
      field_summary:
      id: field_summary
      table: search_api_index_books_index
      field: field_summary
      relationship: none
      group_type: group
      admin_label: ''
      label: Summary
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 100
      word_boundary: false
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: true
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_summary
      element_label_type: ''
      element_label_class: summary_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      field_number_of_pages:
      id: field_number_of_pages
      table: search_api_index_books_index
      field: field_number_of_pages
      relationship: none
      group_type: group
      admin_label: ''
      label: 'No. Pages'
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_no_pages
      element_label_type: ''
      element_label_class: no_pages_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: number_integer
      settings:
      thousand_separator: ''
      prefix_suffix: true
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api_numeric
      fallback_options:
      set_precision: false
      precision: 0
      decimal: .
      separator: ','
      format_plural: false
      format_plural_string: !!binary MQNAY291bnQ=
      prefix: ''
      suffix: ''
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      format_plural_values:
      - '1'
      - '@count'
      plugin_id: search_api_field
      field_isbn:
      id: field_isbn
      table: search_api_index_books_index
      field: field_isbn
      relationship: none
      group_type: group
      admin_label: ''
      label: ISBN
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_isbn
      element_label_type: ''
      element_label_class: isbn_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: text_default
      settings: { }
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      filters:
      search_api_fulltext:
      id: search_api_fulltext
      table: search_api_index_books_index
      field: search_api_fulltext
      relationship: none
      group_type: group
      admin_label: ''
      operator: and
      value: ''
      group: 1
      exposed: true
      expose:
      operator_id: search_api_fulltext_op
      label: ''
      description: ''
      use_operator: false
      operator: search_api_fulltext_op
      identifier: search_api_fulltext
      required: false
      remember: false
      multiple: false
      remember_roles:
      authenticated: authenticated
      anonymous: '0'
      administrator: '0'
      placeholder: ''
      is_grouped: false
      group_info:
      label: ''
      description: ''
      identifier: ''
      optional: true
      widget: select
      multiple: false
      remember: false
      default_group: All
      default_group_multiple: { }
      group_items: { }
      parse_mode: terms
      min_length: null
      fields: { }
      plugin_id: search_api_fulltext
      sorts: { }
      title: 'Recherche dans les livres'
      header: { }
      footer: { }
      empty:
      area:
      id: area
      table: views
      field: area
      relationship: none
      group_type: group
      admin_label: ''
      empty: true
      tokenize: false
      content:
      value: 'No results were found.'
      format: basic_html
      plugin_id: text
      relationships: { }
      arguments: { }
      display_extenders: { }
      use_ajax: true
      cache_metadata:
      max-age: -1
      contexts:
      - 'languages:language_content'
      - 'languages:language_interface'
      - url
      - url.query_args
      tags:
      - 'config:field.storage.node.field_author_name'
      - 'config:field.storage.node.field_isbn'
      - 'config:field.storage.node.field_number_of_pages'
      - 'config:field.storage.node.field_summary'
      page_1:
      display_plugin: page
      id: page_1
      display_title: Page
      position: 1
      display_options:
      display_extenders: { }
      path: gref/books
      cache:
      type: none
      defaults:
      cache: false
      cache_metadata:
      max-age: -1
      contexts:
      - 'languages:language_content'
      - 'languages:language_interface'
      - url
      - url.query_args
      tags:
      - 'config:field.storage.node.field_author_name'
      - 'config:field.storage.node.field_isbn'
      - 'config:field.storage.node.field_number_of_pages'
      - 'config:field.storage.node.field_summary'









      share|improve this question













      I have a view that comes from a .yml file. It is supposed to show an index I created manually. However, when I import the yaml file manually, the search is not triggered (i.e. when I enable Solr Search Devel, it does not yield any information regarding any search, and the server doesn't receive any request).



      The strange thing is that if I manually create (through the GUI) the exact same view, the search is properly triggered, and Solr Search Devel shows informations on the search.



      Why is my view not calling the Search API ? Could it be linked to something else than the yaml file itself ?



      Here is my yml



      langcode: en
      status: true
      dependencies:
      enforced:
      module:
      - gref
      config:
      - field.storage.node.field_author_name
      - field.storage.node.field_isbn
      - field.storage.node.field_number_of_pages
      - field.storage.node.field_summary
      - search_api.index.books_index
      module:
      - search_api
      - text
      id: gref_books_search_view
      label: 'Gref Books Search View'
      module: views
      description: ''
      tag: ''
      base_table: search_api_index_books_index
      base_field: search_api_id
      core: 8.x
      display:
      default:
      display_plugin: default
      id: default
      display_title: Master
      position: 0
      display_options:
      access:
      type: none
      options: { }
      cache:
      type: tag
      options: { }
      query:
      type: views_query
      options:
      bypass_access: false
      skip_access: false
      exposed_form:
      type: basic
      options:
      submit_button: Rechercher
      reset_button: true
      reset_button_label: Reset
      exposed_sorts_label: 'trier par'
      expose_sort_order: true
      sort_asc_label: Asc
      sort_desc_label: Desc
      pager:
      type: mini
      options:
      items_per_page: 10
      offset: 0
      id: 0
      total_pages: null
      expose:
      items_per_page: false
      items_per_page_label: 'Items per page'
      items_per_page_options: '5, 10, 25, 50'
      items_per_page_options_all: false
      items_per_page_options_all_label: '- All -'
      offset: false
      offset_label: Offset
      tags:
      previous: '‹‹'
      next: '››'
      style:
      type: html_list
      options:
      grouping: { }
      row_class: result-element
      default_row_class: true
      type: ul
      wrapper_class: item-list
      class: ''
      row:
      type: fields
      fields:
      title:
      id: title
      table: search_api_index_books_index
      field: title
      relationship: none
      group_type: group
      admin_label: ''
      label: Title
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_title
      element_label_type: ''
      element_label_class: title_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      field_author_name:
      id: field_author_name
      table: search_api_index_books_index
      field: field_author_name
      relationship: none
      group_type: group
      admin_label: ''
      label: 'Author Name'
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 50
      word_boundary: false
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: true
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_author
      element_label_type: ''
      element_label_class: author_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      entity_type: null
      entity_field: null
      plugin_id: search_api_field
      field_summary:
      id: field_summary
      table: search_api_index_books_index
      field: field_summary
      relationship: none
      group_type: group
      admin_label: ''
      label: Summary
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 100
      word_boundary: false
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: true
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_summary
      element_label_type: ''
      element_label_class: summary_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: string
      settings:
      link_to_entity: false
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      field_number_of_pages:
      id: field_number_of_pages
      table: search_api_index_books_index
      field: field_number_of_pages
      relationship: none
      group_type: group
      admin_label: ''
      label: 'No. Pages'
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_no_pages
      element_label_type: ''
      element_label_class: no_pages_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: number_integer
      settings:
      thousand_separator: ''
      prefix_suffix: true
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api_numeric
      fallback_options:
      set_precision: false
      precision: 0
      decimal: .
      separator: ','
      format_plural: false
      format_plural_string: !!binary MQNAY291bnQ=
      prefix: ''
      suffix: ''
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      format_plural_values:
      - '1'
      - '@count'
      plugin_id: search_api_field
      field_isbn:
      id: field_isbn
      table: search_api_index_books_index
      field: field_isbn
      relationship: none
      group_type: group
      admin_label: ''
      label: ISBN
      exclude: false
      alter:
      alter_text: false
      text: ''
      make_link: false
      path: ''
      absolute: false
      external: false
      replace_spaces: false
      path_case: none
      trim_whitespace: false
      alt: ''
      rel: ''
      link_class: ''
      prefix: ''
      suffix: ''
      target: ''
      nl2br: false
      max_length: 0
      word_boundary: true
      ellipsis: true
      more_link: false
      more_link_text: ''
      more_link_path: ''
      strip_tags: false
      trim: false
      preserve_tags: ''
      html: false
      element_type: ''
      element_class: result_isbn
      element_label_type: ''
      element_label_class: isbn_label
      element_label_colon: true
      element_wrapper_type: ''
      element_wrapper_class: ''
      element_default_classes: true
      empty: ''
      hide_empty: false
      empty_zero: false
      hide_alter_empty: true
      click_sort_column: value
      type: text_default
      settings: { }
      group_column: value
      group_columns: { }
      group_rows: true
      delta_limit: 0
      delta_offset: 0
      delta_reversed: false
      delta_first_last: false
      multi_type: separator
      separator: ', '
      field_api_classes: false
      field_rendering: true
      fallback_handler: search_api
      fallback_options:
      link_to_item: false
      use_highlighting: false
      multi_type: separator
      multi_separator: ', '
      plugin_id: search_api_field
      filters:
      search_api_fulltext:
      id: search_api_fulltext
      table: search_api_index_books_index
      field: search_api_fulltext
      relationship: none
      group_type: group
      admin_label: ''
      operator: and
      value: ''
      group: 1
      exposed: true
      expose:
      operator_id: search_api_fulltext_op
      label: ''
      description: ''
      use_operator: false
      operator: search_api_fulltext_op
      identifier: search_api_fulltext
      required: false
      remember: false
      multiple: false
      remember_roles:
      authenticated: authenticated
      anonymous: '0'
      administrator: '0'
      placeholder: ''
      is_grouped: false
      group_info:
      label: ''
      description: ''
      identifier: ''
      optional: true
      widget: select
      multiple: false
      remember: false
      default_group: All
      default_group_multiple: { }
      group_items: { }
      parse_mode: terms
      min_length: null
      fields: { }
      plugin_id: search_api_fulltext
      sorts: { }
      title: 'Recherche dans les livres'
      header: { }
      footer: { }
      empty:
      area:
      id: area
      table: views
      field: area
      relationship: none
      group_type: group
      admin_label: ''
      empty: true
      tokenize: false
      content:
      value: 'No results were found.'
      format: basic_html
      plugin_id: text
      relationships: { }
      arguments: { }
      display_extenders: { }
      use_ajax: true
      cache_metadata:
      max-age: -1
      contexts:
      - 'languages:language_content'
      - 'languages:language_interface'
      - url
      - url.query_args
      tags:
      - 'config:field.storage.node.field_author_name'
      - 'config:field.storage.node.field_isbn'
      - 'config:field.storage.node.field_number_of_pages'
      - 'config:field.storage.node.field_summary'
      page_1:
      display_plugin: page
      id: page_1
      display_title: Page
      position: 1
      display_options:
      display_extenders: { }
      path: gref/books
      cache:
      type: none
      defaults:
      cache: false
      cache_metadata:
      max-age: -1
      contexts:
      - 'languages:language_content'
      - 'languages:language_interface'
      - url
      - url.query_args
      tags:
      - 'config:field.storage.node.field_author_name'
      - 'config:field.storage.node.field_isbn'
      - 'config:field.storage.node.field_number_of_pages'
      - 'config:field.storage.node.field_summary'






      solr drupal-8






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 at 8:10









      Arthur Attout

      937423




      937423
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          For anyone experiencing the same issue, I managed to fix the problem.



          In my case it was because one of the facets attached to the view referenced an unexisting field of my Solr index. Since /var/log/apache2/error.log was completely silent about this, I stumbled upon it completely randomly.



          Check if all the facets you use reference existing fields.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53258059%2fdrupal-search-view-not-triggering-solr-request%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            For anyone experiencing the same issue, I managed to fix the problem.



            In my case it was because one of the facets attached to the view referenced an unexisting field of my Solr index. Since /var/log/apache2/error.log was completely silent about this, I stumbled upon it completely randomly.



            Check if all the facets you use reference existing fields.






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              For anyone experiencing the same issue, I managed to fix the problem.



              In my case it was because one of the facets attached to the view referenced an unexisting field of my Solr index. Since /var/log/apache2/error.log was completely silent about this, I stumbled upon it completely randomly.



              Check if all the facets you use reference existing fields.






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                For anyone experiencing the same issue, I managed to fix the problem.



                In my case it was because one of the facets attached to the view referenced an unexisting field of my Solr index. Since /var/log/apache2/error.log was completely silent about this, I stumbled upon it completely randomly.



                Check if all the facets you use reference existing fields.






                share|improve this answer












                For anyone experiencing the same issue, I managed to fix the problem.



                In my case it was because one of the facets attached to the view referenced an unexisting field of my Solr index. Since /var/log/apache2/error.log was completely silent about this, I stumbled upon it completely randomly.



                Check if all the facets you use reference existing fields.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 13 at 16:24









                Arthur Attout

                937423




                937423






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53258059%2fdrupal-search-view-not-triggering-solr-request%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Guess what letter conforming each word

                    Port of Spain

                    Run scheduled task as local user group (not BUILTIN)