typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

[BUG] Can't select by id (when NLP is involved) #116

Closed MarieSaphira closed 3 years ago

MarieSaphira commented 3 years ago

Describe the bug QL seems to query NLP a few times (10) using all uuids of all entries of an entity

Query

from RawTextWarnings r
select r.@id 
where r.@id == #e9ba9f2d-2415-4aec-84c7-dd37f6e52472

Model

VW's

Expected behavior

Only return the entry with queried id

REST API

see here&_a=(columns:!('@log_name',log),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'424d8750-540c-11eb-8dfe-85a22c0b0589',key:'@log_name',negate:!f,params:(query:typhonql-server),type:phrase),query:(match_phrase:('@log_name':typhonql-server)))),index:'424d8750-540c-11eb-8dfe-85a22c0b0589',interval:auto,query:(language:kuery,query:where),sort:!()))

MarieSaphira commented 3 years ago

This bug had a different source. NLP's flink was/is sometimes not able to connect to elasticsearch properly.