allow search fields to be defined outside of worker