搜索查询-过滤特定列表名称或URL的一部分 [英] Search Query - Filter for a specific list name or part of the URL
问题描述
我需要使用预定义的查询创建搜索结果Webpart.
I Need to create a search results Webpart with a predefined query.
在我的环境中,我有200个具有相同结构的网站集.每个都有一个ListA,ListB,ListC.
In my Environments I have 200 site collections with the same structure. Each of them has a ListA, ListB, ListC.
中央搜索结果Web部件应仅列出ListA中的文档.我该如何过滤?
The central search results Webpart should only list documents from ListA. How can I filter that?
我尝试使用属性PATH或LISTURL,但这不起作用.我可以在末尾使用星号,但不能在前面使用...
I tried to use properties PATH or LISTURL, but that does not work. I can use the asteric at the end, but not infront...
有什么想法吗?
Sven
推荐答案
Sven,
您如何设置查询文本?
请尝试编辑搜索结果Web部件并更改查询,然后在查询生成器"中设置查询文本,如:
Please try to edit the search results web part and change query, and in Query Builder, set the query text like:
Path:http://*/Lists/ListA
请尝试一下,让我们知道结果.
Please have a try and let's know the result.
谢谢
温迪
这篇关于搜索查询-过滤特定列表名称或URL的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!