-
Notifications
You must be signed in to change notification settings - Fork 38
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
hierarchical query with parent node to get all individuals under parent node returns no results #359
Comments
Hi @dcci1, thank you for reporting the issue. To make a descendant terms query work, please, check out if you have followed the next steps:
Doing this, my queries work. Please, let me know if this was your issue or if you had another issue and I did not understand well. Thanks, |
Hi @costero-e thanks for your response. I am currently only inserting biosamples, individuals and datasets into the database when I up the docker containers. I run the docker cp and docker exec commands, then run reindex.py and extract_filtering_terms.py. In my individuals.json file I sometimes only have data that is a child of a parent. Will I need to manually insert all the parents in the filtering terms collection and update the similarities collection as well? Also do you recommend creating a similarities.json and filtering_terms.json file to include as part of my initial database seeding process? Thanks |
Hi @dcci1, thanks for your reply. Let me know if you have any other doubts. Best, Oriol |
I've setup a Beacon API instance and I want to perform a hierarchical query with a parent node ontology term to get all individuals under the parent node. I currently get 0 results for a query like that even if there are children under the parent node.
I am using a slightly different data model than the one provided in the dummy data and I've tested multiple queries so far and everything else is working. I've also ran the commands provided in the deploy readme. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: