How does Yandex process in-host redirections?

If one web page (the source) redirects to another web page (the target) within the same host, the robot will index the content of the target page, but the search results will in some cases display links to the source, and in some cases, links to the target.

If permanent redirection (301) is used between internal pages of the host, the search results will display the target page.

a.ru/page1 ->301 a.ru/page2

If temporary redirection (302/303/307/Meta refresh) is used between internal pages of the host, the search results will display the shortest of the two URLs.