revised searchByAttributeSet to use post instead of get