Three militants were killed in the ensuing gunfight, an officer said, adding search operations were on in the area.