Thanks for publishing the articles. From Elastic search perspective, i can confirm that search is working on Work layer and the rules. However, on the data layer it was not giving the desired results
My bad, if my query establishes a different perspective.
However, after intense research I noticed that for data classes, PEGA requires dedicated indexes that needs to be created for each data class.Hence went with that approach and enabled search on the data objects.