Thanks for your reply.I dont see xpath search is deprecated in 6.1. It is easy to build query using xpath than QueryBuilder.How do I add search attributes dynamically .My xpath query is /jcr:root/content/dnb/home/lc//*[jcr:contains(@jcr:title,'market') or jcr:contains(@description,'market') or jcr:c...