点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
我为新站点和产品目录创建了新的Solr索引。 完全索引后,成功建立索引,但在控制台中出现少量错误:WARN [solr indexer thread] [DefaultCategorySource]无法从目录版本[fttx_stl_productCatalog:Online]加载类别[brands]错误[solr indexer线程] [DefaultCategorySource]无法找到类别 目录版本[fttx_stl_productCatalog:Online]中包含代码[brands]的错误[solr indexer thread] [solrIndexThreadLogger]无法找到属性触摸屏错误[solr indexer线程] [solrIndexThreadLogger]无法找到属性gps错误[solr indexer线程] [solrIndexThreadLogger]无法找到 属性相机错误[solr indexer线程] [solrIndexThreadLogger]找不到属性键盘
但是具有其他索引属性的产品在solr UI中可见。
当我尝试使用de.hybris.platform.commercefacades.search.solrfacetsearch.impl.DefaultSolrProductSearchFacade.categorySearch(String)方法获取产品列表时,它给了我以下异常:
错误[hybrisHTTP38] [10.121.21.119] [SolrSearchRequestResponsePopulator]执行SOLR搜索时发生异常de.hybris.platform.solrfacetsearch.search.FacetSearchException:来自服务器的错误,位于 https://localhost:8983/solr:在查询中未指定字段名称,也未通过de.hybris.platform.solrfacetsearch.search.impl中的'df'参数指定默认值。 DefaultFacetSearchStrategy.search(DefaultFacetSearchStrategy.java:180)〜[solrfacetsearchserver.jar :?] at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:89)〜[solrfacetsearchserver.jar :?] at de.hybris.platform.solrfacetsearch.search.impl.DefaultFacetSearchService.search(DefaultFacetSearchService.java:78)〜[solrfacetsearchserver.jar :?] at de.hybris.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulatorPopulator.populate(SolrSearch .java:71)[classes/:?]在de.hybris.pla tform.commerceservices.search.solrfacetsearch.populators.SolrSearchRequestResponsePopulator.populate(SolrSearchRequestResponsePopulator.java:1)在de.hybris.platform.converters.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java: :?]在de.hybris.platform.converters.impl.AbstractConverter.convert(AbstractConverter.java:41)[classes/:?]在de.hybris.platform.commerceservices.search.solrfacetsearch.impl.DefaultSolrProductSearchService.doSearch(DefaultSolrProductSearchService .java:152)[classes/:?]在de.hybris.platform.commerceservices.search.solrfacetsearch.impl.DefaultSolrProductSearchService.categorySearch(DefaultSolrProductSearchService.java:129)[classes/:?]在de.hybris.platform.commerceservices .search.solrfacetsearch.impl.DefaultSolrProductSearchService.categorySearch(DefaultSolrProductSearchService.java:1)[classes/:?]位于de.hybris.platform.commercefacades.search.solrfacetsearch.impl.DefaultSolrProductSearchFacade $ 4.execute(DefaultS olrProductSearchFacade.java:182)[classes/:?]位于de.hybris.platform.commercefacades.search.solrfacetsearch.impl.DefaultSolrProductSearchFacade $ 4.execute(DefaultSolrProductSearchFacade.java:1)[classes/:?]位于de.hybris.platform .commerceservices.threadcontext.impl.DefaultThreadContextService.executeInContext(DefaultThreadContextService.java:51)[classes/:?] at de.hybris.platform.commercefacades.search.solrfacetsearch.impl.DefaultSolrProductSearchFacade.categorySearch(DefaultSolrProductSearchFacade.java:175)[classes/:?],位于com.stltelco.stltelcoaddon.controllers.pages.checkout.steps.FTTHPlanSelectionCheckoutStepController.getPlanSelectionData(FTTHPlanSelectionCheckoutStepController.java:79)[classes/:?]
我正在附加solr.impex(我从telcoindex获得了参考)
任何人都可以帮助我,我做错了什么,或者创建新Solr索引的任何步骤。
谢谢!
12945-solr-product-impex.txt (28.1 kB)
我通过向solrconfig.xml中添加df配置来解决此问题,例如
我有同样的问题,您设法找到解决方案了吗?
一周热门 更多>