使多值优化显示模板自动应用选定的过滤器 [英] make multi-value refinement display template autoapply selected filters

查看:54
本文介绍了使多值优化显示模板自动应用选定的过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

请社区中的任何人解决我遇到的问题.我已经建立了一个共享点站点,该站点可作为公司不再需要的办公用品的一种在线购物场所.该网站将高度依赖于搜索功能 在SharePoint中.我已经创建了所需的搜索页面.关于搜索结果页面,我已经映射了关键列(将爬网属性映射到创建的托管属性).我已将配置的托管属性与优化器Web部件一起使用, 创建的结果页.执行搜索并获取结果时,我可以使用优化部分来过滤结果.另一方面,令人沮丧的问题是我想使用多值细化显示模板. 我使用它,它为所有列出的过滤器提供了复选框选项,这就是它应该如何工作的.麻烦的是您必须首先选择所有过滤器,然后单击每个过滤器下方提供的应用"按钮.理想情况下,它应该自动应用 并在单击过滤器时进行搜索.至少多数民众赞成网站是这样运作的.

Please could anyone in the community help with a problem I have. I have setup a sharepoint site which functions as a sort of online shopping place for office items that the company no longer needs. This site is to be highly reliant on the search capabilities in SharePoint. I have created the required search pages.In respect to the search result pages I have mapped key columns( mapping crawled properties to created managed properties). I have used the configured managed properties with the refiner web part on the created result page.When I perform a search and get results I am able to use the refinement section to filter results.On the other hand the frustrating problems is that I would like to use the multi-value refinement display template.When I use it, it gives me check boxes options for all listed filters which is how it should work. The part that is a pain is that you have to first select all your filters and then click a provided apply button under each filters. Ideally, it should auto apply and search as you click your filters. At least thats how alot of the public known websites work.

我尝试复制多值精炼显示模板的副本,将其重命名并进行了编辑,但是不幸的是,处理编辑代码不是我的强项.鉴于此,有人可以提供一些帮助.

I have tried taking a copy of the multi-value refinement display template, renamed it and edited it but unfortunately dealing with editing code is not my strong point.With this in mind could someone please provide some help.

感谢您的提前帮助.

多米尼克

推荐答案

您可以检查Elio共享的线程,在下面可以分享这种情况的一个很好的例子.

https://www.eliostruyf.com/part-6-create-multi-value-search-refiner-control/

搜索优化程序控制方法说明.

https://www .eliostruyf.com/part-5-search-refiner-control-methods-explained/

最好的问候,

Lee


这篇关于使多值优化显示模板自动应用选定的过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆