I just updated to version 4.1.10 and can't index my site anymore.

I have updated with the latest archive (the search server zip) but my logs are filled with error when indexing stops.

Type	search_api_solr
Date	Jeudi, 19 novembre, 2020 - 21:52
Utilisateur	administrateur
Emplacement	https://www.example.com/fr/batch?_format=json&id=17065&op=do&op=do_nojs
Référent	https://www.example.com/
Message	Drupal\search_api_solr\SearchApiSolrException while indexing item entity:group/6:fr: Solr endpoint http://localhost:8983/ bad request (400). ERROR: [doc=6bep1j-index-entity:group/6:fr] multiple values encountered for non multiValued field its_flag_like_group: [1, 51, 7242, 16334] in Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase->handleHttpException() (line 1016 of /home/ubuntu/www-s1biose-com/web/modules/contrib/search_api_solr/src/SolrConnector/SolrConnectorPluginBase.php).
Severity	Erreur

I deleted and recreated my collection but I have the same problem.

Comments

zenimagine created an issue. See original summary.

zenimagine’s picture

Category: Support request » Bug report
Priority: Major » Critical
Issue summary: View changes
murz’s picture

@zenimagine, did you run `drush updb` after updating module? In last release the default behavior was changed, regarding to https://www.drupal.org/project/search_api_solr/issues/3153385 and you must update database, or manually set the option "Fallback to multiValued field types" in Server edit form.

mkalkbrenner’s picture

Component: User interface » Code
Category: Bug report » Support request
Priority: Critical » Normal

@Murz is right. Existing configs are set to the old behavior by the update process.
My assumption is an erroneous config management. In many issues here in the project we saw that updb did uts job but a wrong config management replaced the new migrated config by an older one on deployment.
In some cases some people simply forget to to export and commit the new configs in their dev or staging system where they run updb.

zenimagine’s picture

I did "drush updb" and applied the last arch. friends i problem persists.

mkalkbrenner’s picture

Issue summary: View changes
StatusFileSize
new42.54 KB

Please check the the server settings. Under advanced "Fallback to multiValued field types" should have been checked if updb was applied correctly.
Otherwise you could simply avtivate it. But In that case I wonder what else might have been not set by updb.

murz’s picture

zenimagine, can you check the current value of option "Fallback to multiValued field types" in your Solr Server edit form?

zenimagine’s picture

StatusFileSize
new431.86 KB

Here is a screenshot of the configuration.

mkalkbrenner’s picture

So the migration worked.

Do you have any custom code regarding processors, filed types, ...?

In 4.1.10 we fixed multiple issues where properties like "isList = FALSE" erroneously lead to multi values.

murz’s picture

Can you post also configuration of flag_like_group field, especially cardinality value of it? Seem search_api_solr can't detect, that it's cardinality more than 1.

zenimagine’s picture

No, I don't have a custom code.

@Murz Where can I find this configuration ?

murz’s picture

Looking at the field name, it is created via Flag module, or via some other way (describe how did you create it)?

zenimagine’s picture

StatusFileSize
new103.61 KB

I don't know what you want. Here is a screenshot. I can't find any solution

Type	search_api_solr
Date	Vendredi, 20 novembre, 2020 - 16:45
Utilisateur	Anonyme (non vérifié)
Emplacement	https://www.example.com/fr/cron/k_7cgXSLip1ddjNKlLIw2VxCT7jUpYLGFjahjN215dWRtufPZtp51NmO_S9-lb1k9q9RoWES0w
Référent	
Message	Drupal\search_api_solr\SearchApiSolrException while indexing item entity:commerce_store/7:fr: Solr endpoint http://localhost:8983/ bad request (400). ERROR: [doc=6bep1j-index-entity:commerce_store/7:fr] multiple values encountered for non multiValued field its_flag_like_store: [1, 51] in Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase->handleHttpException() (line 1016 of /home/ubuntu/www-example-com/web/modules/contrib/search_api_solr/src/SolrConnector/SolrConnectorPluginBase.php).
Severity	Erreur
zenimagine’s picture

What more can I do ?

mkalkbrenner’s picture

Please export and upload your index config here.

zenimagine’s picture

StatusFileSize
new26.63 KB
mkalkbrenner’s picture

No. This is the Solr config-set. I meant the Drupal configuration that represents the Search API index.
Go to /admin/config/development/configuration/single/export to export it.

zenimagine’s picture

@mkalkbrenner Is that right ?

FILE : search_api.server.server.yml

uuid: d1a60fe6-9050-4987-8e4b-d24330258917
langcode: fr
status: true
dependencies:
  config:
    - search_api_solr.solr_cache.cache_document_default_7_0_0
    - search_api_solr.solr_cache.cache_fieldvalue_default_7_0_0
    - search_api_solr.solr_cache.cache_filter_default_7_0_0
    - search_api_solr.solr_cache.cache_persegfilter_default_7_0_0
    - search_api_solr.solr_cache.cache_queryresult_default_7_0_0
    - search_api_solr.solr_field_type.text_edge_und_7_0_0
    - search_api_solr.solr_field_type.text_edgestring_und_6_0_0
    - search_api_solr.solr_field_type.text_en_7_0_0
    - search_api_solr.solr_field_type.text_fr_7_0_0
    - search_api_solr.solr_field_type.text_ngram_und_7_0_0
    - search_api_solr.solr_field_type.text_ngramstring_und_6_0_0
    - search_api_solr.solr_field_type.text_phonetic_en_7_0_0
    - search_api_solr.solr_field_type.text_phonetic_fr_7_0_0
    - search_api_solr.solr_field_type.text_phonetic_und_7_0_0
    - search_api_solr.solr_field_type.text_und_7_0_0
    - search_api_solr.solr_request_dispatcher.request_dispatcher_httpcachingnever_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_autocomplete_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_extract_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_mlt_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_select_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_spell_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_suggest_default_7_0_0
    - search_api_solr.solr_request_handler.request_handler_tvrh_default_7_0_0
  module:
    - search_api_solr
id: server
name: Server
description: ''
backend: search_api_solr
backend_config:
  connector: basic_auth
  connector_config:
    scheme: http
    host: localhost
    port: 8983
    path: /
    core: www-s1biose-com
    timeout: 5
    index_timeout: 5
    optimize_timeout: 10
    finalize_timeout: 30
    commit_within: 1000
    username: solr
    password: **********************
    solr_version: '8'
    http_method: AUTO
    jmx: false
    solr_install_dir: /opt/solr
    skip_schema_check: false
  disabled_field_types: {  }
  disabled_caches: {  }
  disabled_request_handlers:
    - request_handler_elevate_default_7_0_0
    - request_handler_replicationmaster_default_7_0_0
    - request_handler_replicationslave_default_7_0_0
  disabled_request_dispatchers:
    - request_dispatcher_httpcaching_default_7_0_0
  rows: 1000000
  retrieve_data: false
  highlight_data: false
  server_prefix: ''
  domain: generic
  environment: default
  optimize: false
  site_hash: false
  index_single_documents_fallback_count: 10
  fallback_multiple: true
mkalkbrenner’s picture

We're getting closer ;-)
That's the "Search Server".
Nearby you'll find the "Search Index". Export that one.

zenimagine’s picture

:-)

search_api.index.index.yml

uuid: d6c0f093-30e0-40b4-868d-f1f451275a4e
langcode: fr
status: true
dependencies:
  module:
    - search_api_solr
    - commerce_product
    - user
    - commerce_store
    - flag
    - node
    - group
    - search_api
    - flag_search_api
  config:
    - field.storage.commerce_product.field_produit_avis
    - field.storage.commerce_product.field_service_avis
    - field.storage.commerce_product.field_produit_description
    - field.storage.commerce_product.field_service_description
    - field.storage.commerce_product.field_produit_tags
    - field.storage.commerce_product.field_service_tags
    - field.storage.commerce_store.field_professionnel_logo
    - field.storage.node.field_article_description
    - field.storage.flagging.field_like_group_visibility
    - field.storage.flagging.field_like_node_visibility
    - field.storage.flagging.field_like_product_visibility
    - field.storage.flagging.field_like_store_visibility
    - field.storage.group.field_personnel_description
    - field.storage.group.field_professionnel_description
    - field.storage.group.field_localisation
    - field.storage.group.field_personnel_tags
    - field.storage.group.field_professionnel_tags
    - field.storage.node.field_annonce_categories
    - field.storage.node.field_question_categories
    - field.storage.node.field_recette_categories
    - field.storage.node.field_article_commentaire
    - field.storage.node.field_discussion_commentaire
    - field.storage.node.field_recette_commentaire
    - field.storage.node.field_annonce_description
    - field.storage.node.field_demande_description
    - field.storage.node.field_discussion_description
    - field.storage.node.field_evenement_description
    - field.storage.node.field_itineraire_description
    - field.storage.node.field_recette_description
    - field.storage.node.field_annonce_tags
    - field.storage.node.field_article_tags
    - field.storage.node.field_discussion_tags
    - field.storage.node.field_evenement_tags
    - field.storage.node.field_itineraire_tags
    - field.storage.node.field_recette_tags
    - field.storage.node.field_recette_niveaux
    - field.storage.node.field_question_reponse
    - field.storage.node.field_recette_types
    - search_api.server.server
third_party_settings:
  search_api_solr:
    finalize: false
    commit_before_finalize: false
    commit_after_finalize: false
    multilingual:
      limit_to_content_language: false
      include_language_independent: true
    highlighter:
      maxAnalyzedChars: 51200
      fragmenter: gap
      regex:
        slop: 0.5
        pattern: blank
        maxAnalyzedChars: 10000
      usePhraseHighlighter: true
      highlightMultiTerm: true
      preserveMulti: false
      highlight:
        mergeContiguous: false
        requireFieldMatch: false
        snippets: 3
        fragsize: 0
    mlt:
      mintf: 1
      mindf: 1
      maxdf: 0
      maxdfpct: 0
      minwl: 0
      maxwl: 0
      maxqt: 100
      maxntp: 2000
      boost: false
      interestingTerms: none
    advanced:
      index_prefix: ''
      collection: ''
      timezone: ''
    term_modifiers:
      slop: 10000000
      fuzzy: 2
id: index
name: Index
description: ''
read_only: false
field_settings:
  aggregated_field:
    label: 'Aggregated field id'
    property_path: aggregated_field
    type: string
    configuration:
      type: union
      fields:
        - 'entity:commerce_product/product_id'
        - 'entity:node/nid'
  aggregated_field_1:
    label: 'Aggregated field uid'
    property_path: aggregated_field
    type: string
    configuration:
      type: union
      fields:
        - 'entity:commerce_product/uid'
        - 'entity:node/uid'
  aggregated_field_2:
    label: 'Aggregated field like'
    property_path: aggregated_field
    type: string
    configuration:
      type: union
      fields:
        - flag_like_group
        - flag_like_node
        - flag_like_product
        - flag_like_store
  aggregated_field_3:
    label: 'Aggregated field global uid'
    property_path: aggregated_field
    type: string
    configuration:
      type: union
      fields:
        - 'entity:commerce_product/uid'
        - 'entity:commerce_store/uid'
        - 'entity:group/uid'
        - 'entity:node/uid'
  comment_count:
    label: 'Commentaire » Nombre de commentaires article'
    datasource_id: 'entity:node'
    property_path: 'field_article_commentaire:comment_count'
    type: integer
    dependencies:
      config:
        - field.storage.node.field_article_commentaire
  comment_count_1:
    label: 'Commentaire » Nombre de commentaires discussion'
    datasource_id: 'entity:node'
    property_path: 'field_discussion_commentaire:comment_count'
    type: integer
    dependencies:
      config:
        - field.storage.node.field_discussion_commentaire
  comment_count_2:
    label: 'Commentaire » Nombre de commentaires recette'
    datasource_id: 'entity:node'
    property_path: 'field_recette_commentaire:comment_count'
    type: integer
    dependencies:
      config:
        - field.storage.node.field_recette_commentaire
  comment_count_3:
    label: 'Avis » Nombre de commentaires produit'
    datasource_id: 'entity:commerce_product'
    property_path: 'field_produit_avis:comment_count'
    type: integer
    dependencies:
      config:
        - field.storage.commerce_product.field_produit_avis
  comment_count_4:
    label: 'Avis » Nombre de commentaires service'
    datasource_id: 'entity:commerce_product'
    property_path: 'field_service_avis:comment_count'
    type: integer
    dependencies:
      config:
        - field.storage.commerce_product.field_service_avis
  created:
    label: 'Écrit le'
    datasource_id: 'entity:node'
    property_path: created
    type: date
    dependencies:
      module:
        - node
  created_1:
    label: 'Créé le'
    datasource_id: 'entity:group'
    property_path: created
    type: date
    dependencies:
      module:
        - group
  created_3:
    label: Created
    datasource_id: 'entity:commerce_product'
    property_path: created
    type: date
    dependencies:
      module:
        - commerce_product
  created_4:
    label: 'Content » Content » Écrit le'
    datasource_id: 'entity:group_content'
    property_path: 'entity_id:entity:created'
    type: date
    dependencies:
      module:
        - group
        - node
  field_annonce_categories:
    label: 'Catégorie annonce'
    datasource_id: 'entity:node'
    property_path: field_annonce_categories
    type: integer
    dependencies:
      config:
        - field.storage.node.field_annonce_categories
  field_annonce_description:
    label: 'Description annonce'
    datasource_id: 'entity:node'
    property_path: field_annonce_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_annonce_description
  field_annonce_tags:
    label: 'Mots-clés annonce'
    datasource_id: 'entity:node'
    property_path: field_annonce_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_annonce_tags
  field_article_description:
    label: 'Description article'
    datasource_id: 'entity:node'
    property_path: field_article_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_article_description
  field_article_description_1:
    label: 'Entité » Content » Description'
    datasource_id: 'entity:flagging'
    property_path: 'flagged_entity:entity:field_article_description'
    type: text
    dependencies:
      config:
        - field.storage.node.field_article_description
      module:
        - flag
        - node
  field_article_tags:
    label: 'Mots-clés article'
    datasource_id: 'entity:node'
    property_path: field_article_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_article_tags
  field_demande_description:
    label: 'Description demande'
    datasource_id: 'entity:node'
    property_path: field_demande_description
    type: text
    dependencies:
      config:
        - field.storage.node.field_demande_description
  field_discussion_description:
    label: 'Description discussion'
    datasource_id: 'entity:node'
    property_path: field_discussion_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_discussion_description
  field_discussion_tags:
    label: 'Mots-clés discussion'
    datasource_id: 'entity:node'
    property_path: field_discussion_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_discussion_tags
  field_evenement_description:
    label: 'Description evenement'
    datasource_id: 'entity:node'
    property_path: field_evenement_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_evenement_description
  field_evenement_tags:
    label: 'Mots-clés evenement'
    datasource_id: 'entity:node'
    property_path: field_evenement_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_evenement_tags
  field_itineraire_description:
    label: 'Description itineraire'
    datasource_id: 'entity:node'
    property_path: field_itineraire_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_itineraire_description
  field_itineraire_tags:
    label: 'Mots-clés itineraire'
    datasource_id: 'entity:node'
    property_path: field_itineraire_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_itineraire_tags
  field_like_group_visibility:
    label: 'Qui peut voir que j''aime cette page'
    datasource_id: 'entity:flagging'
    property_path: field_like_group_visibility
    type: boolean
    dependencies:
      config:
        - field.storage.flagging.field_like_group_visibility
  field_like_node_visibility:
    label: 'Qui peut voir que j''aime cette page'
    datasource_id: 'entity:flagging'
    property_path: field_like_node_visibility
    type: boolean
    dependencies:
      config:
        - field.storage.flagging.field_like_node_visibility
  field_like_product_visibility:
    label: 'Qui peut voir que j''aime cette page'
    datasource_id: 'entity:flagging'
    property_path: field_like_product_visibility
    type: boolean
    dependencies:
      config:
        - field.storage.flagging.field_like_product_visibility
  field_like_store_visibility:
    label: 'Qui peut voir que j''aime cette page'
    datasource_id: 'entity:flagging'
    property_path: field_like_store_visibility
    type: boolean
    dependencies:
      config:
        - field.storage.flagging.field_like_store_visibility
  field_localisation:
    label: Localisation
    datasource_id: 'entity:group'
    property_path: field_localisation
    type: string
    dependencies:
      config:
        - field.storage.group.field_localisation
  field_node_title:
    label: Titre
    datasource_id: 'entity:node'
    property_path: title
    type: text
    dependencies:
      module:
        - node
  field_personnel_description_1:
    label: Description
    datasource_id: 'entity:group'
    property_path: field_personnel_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.group.field_personnel_description
  field_personnel_tags_1:
    label: Mots-clés
    datasource_id: 'entity:group'
    property_path: field_personnel_tags
    type: text
    dependencies:
      config:
        - field.storage.group.field_personnel_tags
  field_product_title:
    label: Titre
    datasource_id: 'entity:commerce_product'
    property_path: title
    type: text
    dependencies:
      module:
        - commerce_product
  field_produit_description:
    label: 'Description produit'
    datasource_id: 'entity:commerce_product'
    property_path: field_produit_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.commerce_product.field_produit_description
  field_produit_tags:
    label: 'Mots-clés produit'
    datasource_id: 'entity:commerce_product'
    property_path: field_produit_tags
    type: text
    dependencies:
      config:
        - field.storage.commerce_product.field_produit_tags
  field_professionnel_description_1:
    label: Description
    datasource_id: 'entity:group'
    property_path: field_professionnel_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.group.field_professionnel_description
  field_professionnel_logo:
    label: 'Stores » Boutique » Logo'
    datasource_id: 'entity:commerce_product'
    property_path: 'stores:entity:field_professionnel_logo'
    type: integer
    dependencies:
      config:
        - field.storage.commerce_store.field_professionnel_logo
      module:
        - commerce_product
        - commerce_store
  field_professionnel_tags_1:
    label: Mots-clés
    datasource_id: 'entity:group'
    property_path: field_professionnel_tags
    type: text
    dependencies:
      config:
        - field.storage.group.field_professionnel_tags
  field_question_categories:
    label: 'Catégorie question'
    datasource_id: 'entity:node'
    property_path: field_question_categories
    type: integer
    dependencies:
      config:
        - field.storage.node.field_question_categories
  field_question_reponse:
    label: Réponse
    datasource_id: 'entity:node'
    property_path: field_question_reponse
    type: text
    dependencies:
      config:
        - field.storage.node.field_question_reponse
  field_recette_categories:
    label: 'Catégorie recette'
    datasource_id: 'entity:node'
    property_path: field_recette_categories
    type: integer
    dependencies:
      config:
        - field.storage.node.field_recette_categories
  field_recette_description:
    label: 'Description recette'
    datasource_id: 'entity:node'
    property_path: field_recette_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.node.field_recette_description
  field_recette_niveaux:
    label: 'Niveau recette'
    datasource_id: 'entity:node'
    property_path: field_recette_niveaux
    type: integer
    dependencies:
      config:
        - field.storage.node.field_recette_niveaux
  field_recette_tags:
    label: 'Mots-clés recette'
    datasource_id: 'entity:node'
    property_path: field_recette_tags
    type: text
    dependencies:
      config:
        - field.storage.node.field_recette_tags
  field_recette_types:
    label: 'Types recette'
    datasource_id: 'entity:node'
    property_path: field_recette_types
    type: integer
    dependencies:
      config:
        - field.storage.node.field_recette_types
  field_service_description:
    label: 'Description service'
    datasource_id: 'entity:commerce_product'
    property_path: field_service_description
    type: text
    boost: 0.8
    dependencies:
      config:
        - field.storage.commerce_product.field_service_description
  field_service_tags:
    label: 'Mots-clés service'
    datasource_id: 'entity:commerce_product'
    property_path: field_service_tags
    type: text
    dependencies:
      config:
        - field.storage.commerce_product.field_service_tags
  flag_like_group:
    label: 'J''aime groupe'
    property_path: flag_like_group
    type: integer
    indexed_locked: true
    type_locked: true
  flag_like_node:
    label: 'J''aime contenu'
    property_path: flag_like_node
    type: integer
    indexed_locked: true
    type_locked: true
  flag_like_product:
    label: 'J''aime produit'
    property_path: flag_like_product
    type: integer
    indexed_locked: true
    type_locked: true
  flag_like_store:
    label: 'J''aime boutique'
    property_path: flag_like_store
    type: integer
    indexed_locked: true
    type_locked: true
  flagged_entity:
    label: Entité
    datasource_id: 'entity:flagging'
    property_path: flagged_entity
    type: integer
    dependencies:
      module:
        - flag
  id:
    label: 'Parent group » Groupe » ID'
    datasource_id: 'entity:group_content'
    property_path: 'gid:entity:id'
    type: integer
    dependencies:
      module:
        - group
  label:
    label: Title
    datasource_id: 'entity:group'
    property_path: label
    type: text
    dependencies:
      module:
        - group
  name:
    label: Nom
    datasource_id: 'entity:commerce_store'
    property_path: name
    type: string
    dependencies:
      module:
        - commerce_store
  name_2:
    label: 'Stores » Boutique » Nom'
    datasource_id: 'entity:commerce_product'
    property_path: 'stores:entity:name'
    type: string
    dependencies:
      module:
        - commerce_product
        - commerce_store
  nid:
    label: NID
    datasource_id: 'entity:node'
    property_path: nid
    type: integer
    dependencies:
      module:
        - node
  nid_1:
    label: 'Entité » Content » ID'
    datasource_id: 'entity:flagging'
    property_path: 'flagged_entity:entity:nid'
    type: integer
    dependencies:
      module:
        - flag
        - node
  node_grants:
    label: 'Information d''accès du nœud.'
    property_path: search_api_node_grants
    type: string
    indexed_locked: true
    type_locked: true
    hidden: true
  product_id:
    label: ID
    datasource_id: 'entity:commerce_product'
    property_path: product_id
    type: integer
    dependencies:
      module:
        - commerce_product
  status:
    label: Statut
    datasource_id: 'entity:node'
    property_path: status
    type: boolean
    indexed_locked: true
    type_locked: true
    dependencies:
      module:
        - node
  status_2:
    label: Statut
    datasource_id: 'entity:commerce_product'
    property_path: status
    type: boolean
    dependencies:
      module:
        - commerce_product
  status_3:
    label: 'Content » Content » Published'
    datasource_id: 'entity:group_content'
    property_path: 'entity_id:entity:status'
    type: boolean
    dependencies:
      module:
        - group
        - node
  sticky:
    label: 'Epinglé en haut des listes'
    datasource_id: 'entity:node'
    property_path: sticky
    type: boolean
    dependencies:
      module:
        - node
  store_id:
    label: 'Stores » Boutique » ID'
    datasource_id: 'entity:commerce_product'
    property_path: 'stores:entity:store_id'
    type: integer
    dependencies:
      module:
        - commerce_product
        - commerce_store
  type:
    label: 'Type de contenu'
    datasource_id: 'entity:node'
    property_path: type
    type: string
    dependencies:
      module:
        - node
  type_1:
    label: 'Type de produit'
    datasource_id: 'entity:commerce_product'
    property_path: type
    type: string
    dependencies:
      module:
        - commerce_product
  type_2:
    label: Type
    datasource_id: 'entity:group'
    property_path: type
    type: string
    dependencies:
      module:
        - group
  type_3:
    label: Type
    datasource_id: 'entity:commerce_store'
    property_path: type
    type: string
    dependencies:
      module:
        - commerce_store
  type_6:
    label: 'Content » Content » Content type'
    datasource_id: 'entity:group_content'
    property_path: 'entity_id:entity:type'
    type: string
    dependencies:
      module:
        - group
        - node
  uid:
    label: uid
    datasource_id: 'entity:node'
    property_path: uid
    type: integer
    indexed_locked: true
    type_locked: true
    dependencies:
      module:
        - node
  uid_1:
    label: Auteur
    datasource_id: 'entity:commerce_product'
    property_path: uid
    type: integer
    dependencies:
      module:
        - commerce_product
  uid_2:
    label: 'Écrit par'
    datasource_id: 'entity:node'
    property_path: uid
    type: integer
    dependencies:
      module:
        - node
  uid_4:
    label: Propriétaire
    datasource_id: 'entity:commerce_store'
    property_path: uid
    type: integer
    dependencies:
      module:
        - commerce_store
  uid_5:
    label: 'Écrit par » Utilisateur » Identifiant (ID) utilisateur'
    datasource_id: 'entity:node'
    property_path: 'uid:entity:uid'
    type: integer
    dependencies:
      module:
        - node
        - user
  uid_6:
    label: 'Auteur » Utilisateur » Identifiant (ID) utilisateur'
    datasource_id: 'entity:commerce_product'
    property_path: 'uid:entity:uid'
    type: integer
    dependencies:
      module:
        - commerce_product
        - user
  uid_7:
    label: UID
    datasource_id: 'entity:group'
    property_path: uid
    type: integer
    dependencies:
      module:
        - group
  uid_8:
    label: 'Identifiant (ID) utilisateur'
    datasource_id: 'entity:flagging'
    property_path: uid
    type: integer
    dependencies:
      module:
        - flag
  uid_9:
    label: 'Entité » Content » Écrit par'
    datasource_id: 'entity:flagging'
    property_path: 'flagged_entity:entity:uid'
    type: integer
    dependencies:
      module:
        - flag
        - node
datasource_settings:
  'entity:commerce_product':
    bundles:
      default: false
      selected:
        - default
        - produit
        - service
    languages:
      default: true
      selected: {  }
  'entity:commerce_store':
    bundles:
      default: false
      selected:
        - ephemere
        - online
        - personnel
        - professionnel
    languages:
      default: true
      selected: {  }
  'entity:flagging':
    bundles:
      default: false
      selected:
        - like_group
        - like_node
        - like_product
        - like_store
  'entity:group':
    bundles:
      default: false
      selected:
        - administrateur
        - personnel
        - professionnel
    languages:
      default: true
      selected: {  }
  'entity:group_content':
    bundles:
      default: false
      selected:
        - administrateur-group_membership
        - administrateur-group_node-guide
        - group_content_type_019ce60735906
        - group_content_type_0a627b6b58289
        - group_content_type_28f8a8dbd2f8b
        - group_content_type_9307df917f9ab
        - group_content_type_ec36c5a835021
        - group_content_type_fa2db4a50c8e0
        - personnel-group_membership
        - personnel-group_node-annonce
        - personnel-group_node-article
        - personnel-group_node-discussion
        - personnel-group_node-evenement
        - personnel-group_node-itineraire
        - personnel-group_node-recette
        - professionnel-group_membership
        - professionnel-group_node-annonce
        - professionnel-group_node-article
        - professionnel-group_node-recette
    languages:
      default: true
      selected: {  }
  'entity:node':
    bundles:
      default: false
      selected:
        - annonce
        - article
        - demande
        - discussion
        - evenement
        - guide
        - itineraire
        - partenaire
        - question
        - recette
        - tutoriel
    languages:
      default: true
      selected: {  }
  'entity:user':
    languages:
      default: true
      selected: {  }
processor_settings:
  add_url: {  }
  aggregated_field: {  }
  content_access:
    weights:
      preprocess_query: -30
  entity_status: {  }
  flag_indexer:
    flag_index:
      - like_group
      - like_node
      - like_product
      - like_store
    weights:
      preprocess_index: -30
  ignore_character:
    all_fields: false
    fields:
      - field_annonce_description
      - field_annonce_tags
      - field_article_description
      - field_article_tags
      - field_discussion_description
      - field_discussion_tags
      - field_evenement_description
      - field_evenement_tags
      - field_itineraire_description
      - field_itineraire_tags
      - field_node_title
      - field_personnel_description_1
      - field_personnel_tags_1
      - field_product_title
      - field_produit_description
      - field_produit_tags
      - field_professionnel_description_1
      - field_professionnel_tags_1
      - field_recette_description
      - field_recette_tags
      - field_service_description
      - field_service_tags
      - label
      - name
    ignorable: '[''¿¡!?,.:;]-'
    weights:
      preprocess_index: -10
      preprocess_query: -10
    ignorable_classes:
      - Pc
      - Pd
      - Pe
      - Pf
      - Pi
      - Po
      - Ps
  ignorecase:
    all_fields: false
    fields:
      - field_annonce_description
      - field_annonce_tags
      - field_article_description
      - field_article_tags
      - field_discussion_description
      - field_discussion_tags
      - field_evenement_description
      - field_evenement_tags
      - field_itineraire_description
      - field_itineraire_tags
      - field_node_title
      - field_personnel_description_1
      - field_personnel_tags_1
      - field_product_title
      - field_produit_description
      - field_produit_tags
      - field_professionnel_description_1
      - field_professionnel_tags_1
      - field_recette_description
      - field_recette_tags
      - field_service_description
      - field_service_tags
      - label
      - name
    weights:
      preprocess_index: -20
      preprocess_query: -20
  language_with_fallback: {  }
  rendered_item: {  }
  solr_date_range:
    weights:
      preprocess_index: 0
tracker_settings:
  default:
    indexing_order: fifo
options:
  index_directly: true
  cron_limit: 50
server: server
mkalkbrenner’s picture

OK, this field seems to be added via a processor. Do you use https://www.drupal.org/project/flag_search_api for the flag_like_group field?
The module is a dependency in that config. I just ask to double check.

zenimagine’s picture

yes

zenimagine’s picture

I have "Like" flags and the user can choose in a view if they want to display the content that I like the most first. So I have to use this module, because Solr does not support flag

mkalkbrenner’s picture

zenimagine’s picture

Thanks, the patch works ;-)

mkalkbrenner’s picture

mkalkbrenner’s picture

Status: Active » Fixed
mkalkbrenner’s picture

Title: Version 4.1.10 does not work for me » Version 4.1.10 does not work with Flag Search API

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.