Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24792

Doc error on Solr core configuration

    XMLWordPrintable

Details

    Description

      When running solr indexation command:
      php ezpublish/console ezplatform:solr_create_index
      or any other ezpublish command for that matter, having the configuration specified at:
      https://doc.ez.no/display/EZP/Solr+Search+Engine+Bundle#SolrSearchEngineBundle-Step2:Configuring&StartingSolr
      I get the following configuration error:

      The attribute "language_code" must be set for path "ez_search_engine_solr.connections.default.mapping.translations"
      

      On the documentation it only works if I change:

      mapping:
      	translations:
      		- eng-GB: endpoint0
      

      to:

      mapping:
      	translations:
      		eng-GB: endpoint0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rui.silva-obsolete@ez.no Rui Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: