You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user I would like to be able to call a serach API enpoint and be returned all results and all orthologs of those results. The endpoint should have the same query parameter specification as /search but also require a parameter for the name of the field in the SOLR core with which to expand the search.
How the expand parameter would work:
It must contain either a gene Id or an array of gene Ids (and/or, perhaps, a space-separated string of multiple gene ids)
An initial search is performed using the paramters provided, as with the /search endpoint, except that only the id field is returned.
A second search is performed for any gene where the specified expand parameter contains any id in the result set from the first search.
If performant, results returned from the expand query should be modified to include the score from the initial query.
The text was updated successfully, but these errors were encountered:
When the results come back, convert the values into a new filter facetFieldName + ':(' + values.join(' OR ') + ')'
N.B. values has to be populated from the facet_counts.facet_fields[facetFieldName] array which alternates between field values and counts
As a user I would like to be able to call a serach API enpoint and be returned all results and all orthologs of those results. The endpoint should have the same query parameter specification as
/search
but also require a parameter for the name of the field in the SOLR core with which to expand the search.How the expand parameter would work:
/search
endpoint, except that only theid
field is returned.The text was updated successfully, but these errors were encountered: