search for entities in model