@frysteen … Sorry, I’m not totally sure. I’m not a backend developer, more front-end. Perhaps using this post as a starting point can point you in the right direction.
http://goo.gl/flryRN Jan, starts off by building an array of items to search. Maybe you could do an if statement that singles out the fields you want?
If you get to a solution I would be keen to know what it is.