cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Couldn't configure boost rules for vendor catalog products?

Former Member
0 Likes
312

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:?]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

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.

Former Member
0 Likes

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.