-
Notifications
You must be signed in to change notification settings - Fork 11
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
Update BioThings x-bte annotation to use filter
#726
Comments
Making a quick note: this related BioThings feature |
A optimized example with
|
From discussion during lab meeting today:
EDIT: adding notes from more thinking
|
post_filter
post_filter
This BioThings feature may be useful (look at multiple fields for a value, while setting other fields as well), or it may be obsolete now when we adopt the post_filter/filter feature... |
post_filter
filter
filter
post_filter
or filter
Update:
|
post_filter
or filter
filter
I prioritized working on this issue before my trip, because it should improve performance. Already donein NCATS-Tangerine/translator-api-registry#135 and registrations are refreshed
Not testedEDIT 12/5: now tested because bug was fixed and these operations are all working as-intended
click to expand
TTD:
Text-Mining Targeted:
Not done yet
Notes:
|
Update: the bug blocking testing was addressed, and the "Not tested" operations above were tested and working as-intended. |
[IN-PROGRESS, WILL CONTINUE TO EDIT] Done updating to use "filter" parameter:
Not done yet:
Note!
|
@newgene says that once the code freeze is over, the BioThings APIs will be updated to allow POST queries to use
post_filter
.The initial issue is here: biothings/biothings.api#208
post_filter
can be set in the parameters or the request body. @newgene, could you give an example of each in a comment?Once it is live on BioThings APIs prod instances, we'll want to use it. It'll involve looking for BioThings x-bte annotation that uses more complicated "q" querying (maybe uses
wrap
,replPrefix
,_exists_
...some way of setting >1 field value) and seeing if post_query will work with it.The text was updated successfully, but these errors were encountered: