I'm working on Sharepoint 2013 and I have a site column named Location
tied to a taxonomy, you will have the corresponding managed property to query against: owstaxIdLocation
.
I want to create two query using Search functionality:
1) search all data with a certain content type and owstaxIdLocation
equal to value1 OR value2
;
2) search all data with a certain content type and owstaxIdLocation
equal to value1 AND value2
(e.g. value1;value2
).
My problem is with multi value managed property owstaxIdLocation
.
For example:
ContentTypeId:0x0... AND owstaxIdLocation=???
How can I do it?