Add the parameter propertiesToSearch

Add the parameter propertiesToSearch, this is an array with properties to search (this is a trick).
Each time that begin a search, the code generate (only if propertiesToSearch have elements) a String concatenating all the properties named in the propertiesToSearch array.