A police officer has been thrown from his horse after a motorbike rider allegedly accelerated towards him.