简体   繁体   English

Umbraco网站搜索中的网站搜索未列出最近添加的产品

[英]Recently added product are not listed in the site search in Umbraco site search

I'm working on a web project which uses Umbraco CMS, we are using the site search functionality to find the products on our site it is working fine, when I add new products to the commerce server 2009 R2 it is being listed in the respective category, but these newly added products are not available in the site search. 我正在使用Umbraco CMS的Web项目中工作,我们正在使用网站搜索功能在我们网站上找到运行良好的产品,当我将新产品添加到商务服务器2009 R2时,该产品将在各自的网站中列出类别,但这些新添加的产品在站点搜索中不可用。 We are using Adobe Search & Promote to index the site, commerce server search technology to search the product. 我们正在使用Adobe Search&Promote为网站建立索引,使用商业服务器搜索技术来搜索产品。 Any clue on this? 有什么线索吗?

Thanks in Advance! 提前致谢! Govind 戈文德

For the purposes of this discussion, lets say that your Microsoft Commerce Server site name is 'GovinSite*' and you have a single Microsoft Commerce Server product catalog named 'GovinCatalog' 在此讨论中,假设您的Microsoft Commerce Server站点名称为“ GovinSite *”,并且您有一个名为“ GovinCatalog”的 Microsoft Commerce Server产品目录

Now let me state two assumptions based on your intial question: 现在让我根据您的初始问题陈述两个假设:

Assumption 1: I interpret your statement, "when I add new products to the commerce server 2009 R2 it is being listed in the respective category ", as decribing the act of you adding products manually using the ' Microsoft Commerce Server Catalog Manager ' thin client tool and then seeing them show up in the interface once you've added them through the thin client interface in Catalog Manager 假设1:我解释您的陈述, “当我将新产品添加到商务服务器2009 R2时,它会在相应的类别中列出 ”,因为您描述了使用“ Microsoft Commerce Server Catalog Manager ”瘦客户端手动添加产品的行为工具,然后通过目录管理器中的瘦客户端界面添加它们后,它们就会显示在界面中

Assumption 2: I interpret your statement, "'but these newly added products are not available in the site search * to mean that the newly added products do not show up immediately in the search results on your website which uses Commerce Server Search to return results. 假设2:我解释您的陈述, “”,但这些新添加的产品在站点搜索中不可用 *表示新添加的产品不会立即显示在您的使用Commerce Server搜索返回结果的网站上的搜索结果中。

Now, consider that Microsoft Commerce Server 2009 R2 stores all of its products in SQL Server in the GovinSite_ProductCatalog database. 现在,考虑Microsoft Commerce Server 2009 R2将其所有产品存储在GovinSite_ProductCatalog数据库中的SQL Server中。 For each catalog you create, a corresponding set of tables is created in SQL Server. 对于您创建的每个目录,都会在SQL Server中创建一组对应的表。 The categories you define and products within those categories are stored in the GovinCatalog_CatalogProducts table within that database. 您定义的类别以及这些类别中的产品存储在该数据库的GovinCatalog_CatalogProducts表中。 When you add a product or category through code, or using the asmx based CatalogWebService or via the Commerce Server Catalog Manager, that product gets added to the GovinCatalog_CatalogProducts table. 通过代码或使用基于asmx的CatalogWebService或通过Commerce Server目录管理器添加产品或类别时,该产品将被添加到GovinCatalog_CatalogProducts表中。 That said, whether or not the product will IMMEDIATELY show up in your live search results will depend on the caching strategy you have implemented for the site. 也就是说,该产品是否立即显示在您的实时搜索结果中,将取决于您为该网站实施的缓存策略。 If you are indeed using Microsoft Commerce Server search, depending on the type of search you are executing it is likely using the full text search index. 如果您确实在使用Microsoft Commerce Server搜索,则根据您正在执行的搜索类型,很可能会使用全文本搜索索引。 If you have not refreshed either the site cache or the full text search index in Commerce Server, you may experience a situation where you can see the product in Catalog Manager, but it is NOT visible on your site. 如果您没有刷新网站缓存或Commerce Server中的全文本搜索索引,则可能会遇到一种情况,您可以在目录管理器中看到该产品,但是在您的网站上看不到该产品。 Refreshing your site cache OR refreshing the full text catalog index will resolve this issue. 刷新您的站点缓存或刷新全文目录索引将解决此问题。 If it does not fix your problem, then you likely have a problem stemming from the code you are using to search for products using the Commerce Server Catalog API (either 2007 or 2009). 如果不能解决问题,则可能是由于使用Commerce Server Catalog API(2007或2009)搜索产品所使用的代码引起的问题。

So, since you state you are using Adobe Search & Promote to index the site, I would imagine you are talking about the site content, but not necessarily the site product catalog data. 因此,既然您声明您正在使用Adobe Search&Promote对网站建立索引,那么我可以想象您是在谈论网站内容,但不一定是网站产品目录数据。 The index used by adobe is likely a completely different index than the one leveraged by Commerce Server Full Text Search. Adobe使用的索引可能与Commerce Server全文搜索使用的索引完全不同。 Before you go to far try the following: 在您走远之前,请尝试以下操作:

1) Create a product in Catalog Manager 2) Try to search for the product on your site 3) Assuming it doesn't show up, go back to Microsoft Commerce Server Catalog Manager and select Refresh Catalog Full Text Index from the task menu on the left hand side 4) Try to search for the product again on your site 5) If it still doesn't show up, go back to Microsoft Commerce Server Catalog Manager and select Refresh Site Cache 6) Try to search for the product again on your site 7) If it still doesn't show up, it must be an issue with the code that is making search requests to Commerce Server's database either via the Commerce Foundation (2009 API) or the Core Systems Catalog API (2007) 1)在目录管理器中创建一个产品2)尝试在您的站点上搜索该产品3)假设它没有出现,请返回到Microsoft Commerce Server目录管理器,然后从任务菜单上选择“ 刷新目录全文索引 ”左侧4)尝试在您的站点上再次搜索该产品5)如果仍然没有显示,请返回到Microsoft Commerce Server目录管理器,然后选择“ 刷新站点缓存” 。6)尝试在您的站点上再次搜索该产品。站点7)如果仍然没有显示,则它必须是通过Commerce Foundation(2009 API)或Core Systems Catalog API(2007)向Commerce Server数据库发出搜索请求的代码存在问题

For more information on Microsoft Commerce Server caching, try here 有关Microsoft Commerce Server缓存的更多信息,请尝试此处

For more information on the Commerce Server 2007 Catalog API searching try here 有关Commerce Server 2007目录API搜索的详细信息,请尝试在此处

I could go deeper on this, but I would prefer to let you validate my assumptions and respond before I explore your matter further. 我可以对此做更深入的介绍,但是我希望让您验证我的假设并做出回应,然后再进一步探讨您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM