Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要找到一种方法来从 Sitecore 搜索索引查看器中找到结果的字段值(GUID 值)。
当我们单击 Sitecore indexviewer 并搜索索引时,同样的事情会返回包含文档数量(字段值和字段名称)的结果。现在我需要排除所有以“__”开头的字段,并且我需要在配置文件中排除这些字段。
请提供有关如何查找字段值的方法以及有关如何在配置字段中排除字段值的代码。
注意 guid 的存储方式,作为短 ID?
在大多数情况下,您应该确保在索引和搜索期间没有对 guid 进行标记。(使用关键字查询和 NO_TOKENIZE)。