Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Is there a way to combine NOT clause in search?

Avatar

Level 5

For example

we want to search a text "ABC" in a property but exclude the results if the result has "XYZ" in same property (while doing full text)

2 Replies

Avatar

Employee Advisor

Check the following examples- http://aemtipsandtricks.blogspot.com/2014/07/structuring-content-for-faceted.html

The unequals operator can be used in this case. 

Unequals (Not equals)
1_property.operation=unequals
1_property=jcr:title
1_property.value=Apples