Deprecated api functionality of search | Community
Skip to main content
New Participant
Apr 7, 2022 3:53 AM UTC
Solved

Deprecated api functionality of search

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.
Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Apr 7, 2022 8:29 AM UTC

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

2 replies

Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Apr 7, 2022 8:29 AM UTC

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

Translate
DEBAL_DAS
New Participant
Apr 7, 2022 12:37 PM UTC

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.

Translate