When using search_ functions, results are usually returned in an order unrelated to the query (perhaps alphabetical?). This ordering has begun to cause issues with new show_values() and search_values() functions (#131), where only the first result of a query is returned, for example:
search_lists("dr") |> show_values()
#> ! Search returned 16 matched lists.
#> • Showing values for 'dr19022'.
It would be more useful if results from a search_ function were ordered by similarity to the search term. For example, the results of search_fields("year") would list year first, followed by subsequently less similar fields
When using
search_
functions, results are usually returned in an order unrelated to the query (perhaps alphabetical?). This ordering has begun to cause issues with newshow_values()
andsearch_values()
functions (#131), where only the first result of a query is returned, for example:It would be more useful if results from a
search_
function were ordered by similarity to the search term. For example, the results ofsearch_fields("year")
would listyear
first, followed by subsequently less similar fields