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”.
importcom.atlassian.confluence.search.v2.SearchManager;
searchResults = searchManager.search(searchResults.getNextPageSearch());
Confluence source code 6.10 shows this method as deprecated.
@Deprecated
SearchResults search(SearchWithToken search) throws SearchTokenExpiredException, InvalidSearchException;
Do we have any alternative method for this ?