[docs] [issue19465] selectors: provide a helper to choose a selector using constraints