esgf2-us / esg_fastapi

0 stars 0 forks source link

fields is missing #15

Open sashakames opened 4 days ago

sashakames commented 4 days ago

The fields keyword allows the user to downselect which fields of the record to return. While Metagrid does not use this, we are likely to find a client and also it is very convenient for testing purposes.
In Solr it directly mapped to a feature. We may want to see if there is an analogous feature in Globus Search.

nocollier commented 4 days ago

I am not aware of this functionality in Globus search but we can ask @sturoscy-personal.

I wonder if filtered_principle_sets of the API is meant to do this? I am unclear on what a principle set is in their parlance.

nocollier commented 4 days ago

Of course this is simple to support in the software but we would sacrifice the benefit of not having to load/transfer larger than necessary responses.