Tuesday, 18 November 2014

SharePoint result source with OR condition

Using GUID
path:"https://spo" SPContentType=MyList owstaxIdColumnTerm:{03b7b387-506e-4620-99ff-2d1ee315581d} owstaxIdColumnType:{e5035750-1c98-4a72-8e12-0f1ccdb4244f} owstaxIdListPageElement:{720a2f5c-52f3-482e-a359-5861a48aac5c} isActiveOWSBOOL=1 -owstaxIdColumnRegion:{USA} OR owstaxIdColumnRegion:{QueryString.region}

Using Column text
path:https://spo SPContentType=MyList owstaxIdColumnTerm:MyTerm owstaxIdColumnType:MyType owstaxIdListPageElement:MyElement isActiveOWSBOOL=1 -owstaxIdColumnRegion:{USA} OR owstaxIdColumnRegion:{QueryString.region}