SOLVED

SharePoint online search vertical limited to pages

Copper Contributor

I am trying to update a standard site level search vertical to only include sharepoint pages but specifically exclude News posts / links. I would have thought this was easy but cannot seem to get it to work. 

 

The KQL below works in that it limits the results to pages but it still shows News articles. Any help would be appreciated.

 

contenttype:Page -contenttype:News
ContentType:"site Page"
-ContentTypeId:0x0107*
-ContentTypeId:0x0103*

 

 

 

2 Replies
I would be interested in a solution for this as well.
best response confirmed by ChrisUndery (Copper Contributor)
Solution
I managed to work it out. Just use:
PromotedState:0
1 best response

Accepted Solutions
best response confirmed by ChrisUndery (Copper Contributor)
Solution
I managed to work it out. Just use:
PromotedState:0

View solution in original post