got search by fieldname functions working