on ‎2018 Sep 05 8:25 AM
When I try to add boost rules to a vendor catalog product, I am getting the following error from the OOTB code.
Steps to reproduce
1) Install hybris 6.7 with Marketplace Accelerator
2) Navigate to Adaptive search
3) Select Index configuration as market place solr Index
4) Select Index type as marketplace product type
5) Select Catalog version as Powerful Computers Products
6) Check the console for error
Error Log
ERROR [hybrisHTTP22] [MainController] de.hybris.platform.solrfacetsearch.search.FacetSearchException: Category with code '1' is not unique. 2 categories found! (Active session catalogversions: vendor1ProductCatalog.Online) de.hybris.platform.adaptivesearch.AsException: de.hybris.platform.solrfacetsearch.search.FacetSearchException: Category with code '1' is not unique. 2 categories found! (Active session catalogversions: vendor1ProductCatalog.Online) at de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProvider.performSearch(SolrAsSearchProvider.java:554) ~[adaptivesearchsolrserver.jar:?] at de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProvider.lambda$0(SolrAsSearchProvider.java:501) ~[adaptivesearchsolrserver.jar:?] at de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProvider$1.execute(SolrAsSearchProvider.java:524) ~[adaptivesearchsolrserver.jar:?] at de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProvider$1.execute(SolrAsSearchProvider.java:1) ~[adaptivesearchsolrserver.jar:?] at de.hybris.platform.servicelayer.session.impl.DefaultSessionService.executeInLocalView(DefaultSessionService.java:89) ~[coreserver.jar:?]
Request clarification before answering.
as per your log you should have two category with code 1 in your vendor1ProductCatalog.Online catalog remove one of them.
Hope it will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We don't have this category (code 1) in vendor catalog... It is in the master catalog.
When the system couldn't find this category in the active catalog(i.e; selected vendor catalog) system is searching this category (code 1) across all the catalogs irrespective of the catalog version.... the search will return two records as the category is in both master catalog-staged and in online version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.