Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the mitigation or alternative method for the deprecated method for search() in SearchManager

Shankar Murthy Pokala May 30, 2019

I have a Confluence plugin where I use SearchManager.search(searchResults.getNextPageSearch()), but this method is deprecated from v5.7.2 Confluence. Now my Confluence is upgraded to 6.13.4 and I am in search of alternative method for it. I read in the Confluence source code and I see a suggestion "This method on one hand is rarely used on the other hand is not efficient to implement in ES".

searchResults = searchManager.search(searchResults.getNextPageSearch());

 

Do we have any alternative method for this ?

 

 

image.png

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 2019

Hello Shankar,

Thank you for contacting us! I just need some clarification here on what you are trying to do.

Is this an existing add-on from Marketplace, or are you creating one for Confluence Server? If so, you should know that this forum is for end-users, so you're not likely to see very many answers from developers on this forum. For help with developing for our products, have a look at the Atlassian Developer Community. There, you will be able to ask and answer questions with your developer peers.

Let me know if you have any trouble with that! 

Regards,

Shannon

Shankar Murthy Pokala June 3, 2019

Shannon, I have my own developed Confluence plugin where I used the above code, now this code has got deprecated methods which I want to mitigate and looking for alternatives.

Thanks, I will post this question in Atlassian Developer Community.

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2019

Hello Shankar,

Thank you for confirming that! It would definitely be the right place then, I'm sure some of the Marketplace developers have run into similar situations so they will surely be able to assist you.

Take care, and have a pleasant week.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events