Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11850

Allow to define other languages in Solr schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0
    • 4.7.6
    • Solr
    • None
    • 4.8.0 M7

      Here is my languages.xml file

      <languages>
          <language code="fr" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_FR</language>
          <language code="en" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_EN</language>
          <language code="es" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_ES</language>
          <language code="it" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_IT</language>
          <language code="pt" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_PT</language>
          <language code="rm" i18n="true">plugin.cms:PLUGINS_CMS_LANGUAGES_LABEL_RM</language>
      </languages>
      

      I have errors in solr

      2024-01-15 09:02:20.860 ERROR (qtp380812044-21) [ametys-upau-std-default] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: ERROR: [doc=resource://26104b48-c32d-4be9-958c-3a080140e64c] unknown field 'systemFull_rm' => org.apache.solr.common.SolrException: ERROR: [doc=resource://26104b48-c32d-4be9-958c-3a080140e64c] unknown field 'systemFull_rm'
              at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:255)
      org.apache.solr.common.SolrException: ERROR: [doc=resource://26104b48-c32d-4be9-958c-3a080140e64c] unknown field 'systemFull_rm'
              at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:255) ~[?:?]
              at org.apache.solr.update.AddUpdateCommand.makeLuceneDocs(AddUpdateCommand.java:213) ~[?:?]
              at org.apache.solr.update.DirectUpdateHandler2.updateDocOrDocValues(DirectUpdateHandler2.java:1041) ~[?:?]
              at org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpdateHandler2.java:416) ~[?:?]
              at org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:369) ~[?:?]
              at org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:300) ~[?:?]
              at org.apache.solr.update.processor.RunUpdateProcessorFactory$RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:71) ~[?:?]
              at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:55) ~[?:?]
              at org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:267) ~[?:?]
              at org.apache.solr.update.processor.DistributedUpdateProcessor.doVersionAdd(DistributedUpdateProcessor.java:542) ~[?:?]
              at org.apache.solr.update.processor.DistributedUpdateProcessor.lambda$versionAdd$0(DistributedUpdateProcessor.java:354) ~[?:?]
              at org.apache.solr.update.VersionBucket.runWithLock(VersionBucket.java:49) ~[?:?]
              at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:351) ~[?:?]
              at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:233) ~[?:?]
              at org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:55) ~[?:?]
              at org.ametys.solr.update.IgnoreAutoCommitUpdateProcessor.processAdd(IgnoreAutoCommitUpdateProcessor.java:48) ~[?:?]
              at org.apache.solr.handler.loader.JavabinLoader$1.update(JavabinLoader.java:123) ~[?:?]
              at 
      
      
      

            bmaurel Bérénice Maurel
            lperier Laurence Perier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: