Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Deprecated api functionality of search

Avatar

Level 1

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?

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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/common...

Only setRepository is deprecated.

Thank you,

Prince

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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/common...

Only setRepository is deprecated.

Thank you,

Prince

Avatar

Community Advisor

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.