set constraints for search filter