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
Without the metadataQuery, the Odinson query (?<reagent> [entity=B-Reagent][entity=I-Reagent]*) <acts-on (?<operator> [entity=B-Action][entity=I-Action]*) works perfect.
However, after adding metadataQuery like catalyst contains 'carbonate', it stops working.
It seems that the bug java.lang.NullPointerException comes from line 121 of "OdinConcatQuery.scala" if (pq.size() > 0) {.
Any idea about where the problem is, or could you please give me some pointers about potential solutions? @BeckySharp @danebell @myedibleenso@reynoldsm88 Thanks!
The text was updated successfully, but these errors were encountered:
bflashcp3f
changed the title
Error when using metadataQuery via REST API
Bug when using metadataQuery via REST API
Oct 29, 2021
@bflashcp3f , what field type is catalysts in your metadata? For contains filters to work, you need to be using a ai.lum.odinson.TokensField (see this example doc in the test suite).
Describe the bug
I am using the web interface (http://localhost:xxxx/api#/details/search) to test different queries via REST API on the local data (100 files).
Without the metadataQuery, the Odinson query
(?<reagent> [entity=B-Reagent][entity=I-Reagent]*) <acts-on (?<operator> [entity=B-Action][entity=I-Action]*)
works perfect.However, after adding metadataQuery like
catalyst contains 'carbonate'
, it stops working.It seems that the bug
java.lang.NullPointerException
comes from line 121 of "OdinConcatQuery.scala"if (pq.size() > 0) {
.Any idea about where the problem is, or could you please give me some pointers about potential solutions? @BeckySharp @danebell @myedibleenso @reynoldsm88 Thanks!
The text was updated successfully, but these errors were encountered: