Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subject_taxon and object_taxon parameters to associations endpoint #546

Closed
kevinschaper opened this issue Jan 22, 2024 · 1 comment · Fixed by #548
Closed

Add subject_taxon and object_taxon parameters to associations endpoint #546

kevinschaper opened this issue Jan 22, 2024 · 1 comment · Fixed by #548
Assignees
Labels

Comments

@kevinschaper
Copy link
Member

It's not currently possible to constrain association queries by the taxon of the subject or object, we should add subject_taxon & object_taxon params to the associations endpoint.

This issue is inspired by the queries against the biolink API shown in this issue: biothings/biothings_explorer#774

@kevinschaper
Copy link
Member Author

While we're in there, we should add subject_category, object_category, subject_namespace, object_namespace as well.

kevinschaper added a commit that referenced this issue Jan 29, 2024
Closes #546 

- Adds some extra parameters to associations endpoint and
SolrImplementation.get_associations
- Adds api tests for proper parameters being passed to SI
- Small fix to TextAnnotator
- Update to SI's Query model methods for adding facet fields

---------

Co-authored-by: Kevin Schaper <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants