FAIRFIELD (KPIX 5) — Two Fairfield police officers are facing felony charges and could face prison time, for allegedly looking for love through a police database.

The officers are accused of checking out profiles on online dating websites such as Tinder, Match.com and eHarmony, then using a statewide police database system to dig up more information on the women whose profiles they liked.

Court documents show that Officers Stephen Ruiz and Jacob Glashoff used company time and equipment to search for the women online.

The two officers would perform the computer searches and then talk about it in front of other officers, according to court documents. That upset another fellow Fairfield officer who then reported the incidents to his superior back in June.

The Fairfield Police Department said it can’t comment, other than to say that the two officers are still on duty.