Is your feature request related to a problem? Please describe.
It is often useful to be able to check how many records are available (via search_count() before requesting records (via search()). However, several parameters available in search() are not available in search_count().
Describe the solution you'd like
Have the same list of parameters for search() and search_count().
In particular, the Search API Keywords says the dataset keywords is preferred, but search_count() does not accept that keyword.
Describe alternatives you've considered
Request a list records via search() then calculate the lengths of the list, but that is pretty inefficient.
Is your feature request related to a problem? Please describe. It is often useful to be able to check how many records are available (via
search_count()
before requesting records (viasearch()
). However, several parameters available insearch()
are not available insearch_count()
.Describe the solution you'd like Have the same list of parameters for
search()
andsearch_count()
.In particular, the Search API Keywords says the
dataset
keywords is preferred, butsearch_count()
does not accept that keyword.Describe alternatives you've considered Request a list records via
search()
then calculate the lengths of the list, but that is pretty inefficient.Other information
asf_search.__version__ == 6.7.2