Expand my Community achievements bar.

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

2 Replies

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

Employee 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.