aem query builder apply two opertion at single time
Hi All,
I have a requirement in that I have to search for a page having the jcr property "topicCategory" or "articleTopicCategories"
and the property value should be "financial_adjustments_and_payments" or it can start with "Financial_Adjustments_and_Payments".
and property value can be the upper case or lower case.
articleTopicCategories | String | Postage_By_Phone,Financial_Adjustments_and_Payments,Managing_Postage_Funds,Invoice_and_Statement_Management |
topicCategory | String | financial_adjustments_and_payments |
topicCategory | String[] | cellular_hotspot_device, financial_adjustments_and_payments, changing_account_information |
so I have written this query.
path=/content/pb/us
type=cq:Page
group.1_property=jcr:content/topicCategory
group.1_property.value=%Financial_Adjustments_and_Payments%
group.1_property.operation=equalsIgnoreCase
group.1_property.operation=like
group.2_property=jcr:content/articleTopicCategories
group.2_property.value=%Financial_Adjustments_and_Payments%
group.2_property.operation=like
group.2_property.operation=equalsIgnoreCase
group.p.or=true
p.limit=-1
so If you read the above query, I have applied like and equal ignore case property. but at one time only one operation is working. Either like or either equal ignore case.
Is there any way to fix this query .