I have a site template that has a library called ContentLibrary. I want to do a search that returns only item and document results from those libraries that are in various sites and site collections. I tried using contains with Path and ListURL but both return no documents. Path:/ContentLibrary/ ListURL:/ContentLibrary/
How can I filter on library name or use a contains for a URL?
Is there a way to do it with result sources?
Update 1 Created a new result source using ListURL:ContentLibary and it returns all the libraries needed but not the items inside.
Update 2
I thought I was going to be able to just do this in the query for the CSWP. ListUrl:ContentLibrary (contentclass:STS_ListItem OR IsDocument:True) owstaxidmetadataalltagsinfo:{QueryString.MyParameter1}
ListUrl only seems to only allow the return of lists.