Work on {INPUT,OUTPUT}FACETS option for search