Deprecated api functionality of search | Community
Skip to main content
April 7, 2022
Solved

Deprecated api functionality of search

  • April 7, 2022
  • 1 reply
  • 660 views

Hi Team, 

 

I want to know about the com.day.cq.wcm.commons.ReferenceSearch.search function. It seems, it is deprecated. How to use the new search function and params?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Prince_Shivhare

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

1 reply

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
April 7, 2022

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

DEBAL_DAS
New Member
April 7, 2022

yes I agree with you @prince_shivhare . I have seen one more query on ReferenceSearch API and documents is saying only one method is deprecated.

Debal Das, Senior AEM Consultant