-
Notifications
You must be signed in to change notification settings - Fork 2
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
Prototype #46
Conversation
It may not be worth reviewing yet @gaurav - I realized that I need to update the openapi examples and the documentation. |
Sounds good! Let me know once this is ready for review. |
I think it is ready now - the docs will need to be updated for the load, but probably after the makefile is sorted, and I think the openapi doesn't have an example anyway. |
|
We now look in preferred_name as well as the names field, and the query works much better without the '*' at the end of it.
@cbizon I've got this working now! I made some changes to the queries; could you please check them and make sure they still make sense? You can see all the changes made since your last commit by going here: 48aa659...prototype I've left Apart from that question, I'm good to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me! (You can try it out at http://name-resolution-sri-dev.apps.renci.org/docs within the RENCI VPN).
|
Consumes the synonym files created by the synonym_prototype branch of Babel.
The input structure is now quite different. Rather than a single document per (curie,label) pair, we now make one doc per curie. We remove the id and length parameters, and add in biolink types and a preferred name.
This has an extra benefit of making the lookup code simpler, and reducing 3 solr calls to 1.
Fixes #39, fixes #43.
Fixes #24 by returning a list sorted by ElasticSearch scores instead of a dictionary.
Fixes #32 by adding types and canonical information to NameRes.