factor out unique selection code
add `which` command
document commands
document index field in yaml spec
document FieldError
also show warning for non-recursive search