So I have this scenario:
- I have a list with a column called
Status
- The status field is either
Open
orClosed
What I want to do is to only include in search results items whose status are Open
. Is there a way to do that?
So I have this scenario:
Status
Open
or Closed
What I want to do is to only include in search results items whose status are Open
. Is there a way to do that?
You can use Search query Webpart for this and use filters to refine your result set. Have a look at the following link on how to configure this
Using-content-search-web-part-and understanding SP2013 search
If you're on SP 2013 - Create a result source. The query in the result source should look something like
{searchTerms} Status:"Open" ContentTypdId:0x01xxxxxxx
ContentTypeId should be the content type for your list
Configure your content search webpart or search results web part to use your new result source