Represent search restrictions as a qualifier hash