Hi,
I am using com.day.cq.wcm.foundation.Search to get the search result. I am getting the result but search.getRelatedQueries() method is not returning anything. Do we need to set some property before we access this method. I have already set search.setQuery("abc") and search.setSearchIn("path") .
I am using AEM 6.2. Please let me know if anyone has worked on it before.
Thanks!