Build configurable search string.