Hi,Are you sure it is deprecated? I was trying to check the documentation and see what I found -https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/wcm/commons/ReferenceSearch.html#ReferenceSearch--Only setRepository is deprecated.Thank you,Prince