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

[SolrTool] Errors when setting joined facet on a system property

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • Plugin : Search
    • None

      Content Type: "Exhaustif"

      Request:

      *:*

      Columns: title

      Facets: contentTypes

       

      Result = OK

       

      Content Type: "Exhaustif"

      Request:

      *:*

      Columns: title

      Facets: linkArticles.contentTypes

       

      Result = KO

       

      Caused by: java.lang.Exception: Caught an exception trying to initialize the component linkArticles/contentTypes0
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:212)
      	at org.ametys.cms.search.solr.CriteriaSearchUIModelWrapper.setFacetedCriteria(CriteriaSearchUIModelWrapper.java:122)
      	at org.ametys.cms.search.solr.SolrQuerySearchAction.doSearch(SolrQuerySearchAction.java:128)
      	at org.ametys.cms.search.cocoon.SearchAction.act(SearchAction.java:133)
      	... 98 more
      Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Error configuring the indexing field search criterion. @null
      	at org.ametys.cms.search.ui.model.impl.IndexingFieldSearchUICriterion.configure(IndexingFieldSearchUICriterion.java:250)
      	at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:202)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:359)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.newInstance(ThreadSafeComponentManager.java:378)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:206)
      	... 101 more
      Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Search criterion with path 'contentTypes' refers to an unknown indexing field: contentTypes
      	at org.ametys.cms.search.ui.model.impl.AbstractSearchUICriterion.getMetadataDefinition(AbstractSearchUICriterion.java:448)
      	at org.ametys.cms.search.ui.model.impl.IndexingFieldSearchUICriterion.getMetadataDefinition(IndexingFieldSearchUICriterion.java:696)
      	at org.ametys.cms.search.ui.model.impl.IndexingFieldSearchUICriterion.configure(IndexingFieldSearchUICriterion.java:191)
      	... 105 more

          [CMS-8632] [SolrTool] Errors when setting joined facet on a system property

          Ok but I opened CMS-8640 to notify that we do not currently handle joined facets on multivalued properties or metadata.
          They are disabled in the UI

          Simon Prieul (Inactive) added a comment - Ok but I opened CMS-8640 to notify that we do not currently handle joined facets on multivalued properties or metadata. They are disabled in the UI

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: