Indonesia's forestry minister has accused Hollywood star Harrison Ford of subjecting him to a rude interview on climate change that left him "shocked", an official said.

The Indiana Jones and Star Wars actor, who is making part of an environmental documentary in Indonesia, attacked the minister with questions during the encounter on Monday, presidential adviser Andi Arief said.

The adviser accused Ford and his crew of "harassing state institutions" and said the 71-year-old could even be deported - although he was due to leave Indonesia later on Tuesday anyway.

Forestry minister Zulkifli Hasan told reporters that he had been angered by Ford's approach during the interview in Jakarta.

"His emotions were running very high," the minister was quoted as saying by the state-run Antara news agency.

"I understand the American man just came here to see Tesso Nilo (a national park on Sumatra island) and wanted violators to be caught the same day."

The minister added he was not given the chance to explain the challenges of catching people who break the law in Indonesia's sprawling rainforests, where illegal logging is rampant.

"I was only given the opportunity to say one or two sentences during the interview," he said.

Mr Arief said the minister thought there would have been some time to discuss the interview before it began.

But in the event he was "shocked that as soon as his (Ford's) crew came in, they started filming and interviewing him... and attacking him with questions".

"There's no privilege for him although he is a great a actor," he said.

"His crew and those who were helping him in Indonesia must be questioned to find out their motives for harassing a state institution.

"If necessary, we will deport him."

Ford, who has supported numerous environmental causes in recent years, has travelled to several places in Indonesia to make part of a series on climate change called Years of Living Dangerously for US television network Showtime.

He also met president Susilo Bambang Yudhoyono on Tuesday.

As south-east Asia's largest economy grows rapidly, swathes of biodiverse forests across the archipelago of 17,000 islands have been cleared to make way for paper and palm oil plantations, as well as for mining and agriculture.

AFP