Factor search engine definition

(No problem if you are not interested :)