it’s my first question here.I apologize if i make any mistake or broke forum’s rules
I use confluence and i try to write custom code for confluence search.
I have next classes
com.atlassian.confluence.search.v2.SearchResult;
com.atlassian.confluence.pages.Page;
for examples when i get some pages i try to classcast it to SearchResult to send it to velocity template
SearchResult sResult = (SearchResult)myPage;
Is there any way to add or classcast Confluence Page to SearchResult?
Thanks in advance.
I don’t think so – it seems
Pageis not even related to search.