content search web part Property filter in Query Text using if else RRS feed

  • Question

  • I have content search web part.
    i am passing some query string to another page using display template.
    Now on the second page i want to apply filter using Query string value, that i know how to use this. But i have some condition when to apply filter on property and when not based on query string value.
    so basically my question is can we apply condition in query text like if value is this then apply filter on this property and if value is another then use some other property for filtration.
    can we use if else in Query text of Content search web part??
    • Edited by Milan Jain Monday, February 13, 2017 2:20 PM
    Monday, February 13, 2017 12:52 PM

All replies