"the other midshipman on board an Indiaman"

 An Indiaman was a large merchant ship which was involved in trade with India, the East Indies or the West Indies.

 

The East Indiaman 'Warley' (1804)
Public DomainThe East Indiaman 'Warley' (1804) - Credit: Robert Salmon