IHTSDO / snowstorm

Scalable SNOMED CT Terminology Server using Elasticsearch
Other
208 stars 83 forks source link

Parents endpoint seems to provide ancestors in response #58

Closed mertenssander closed 5 years ago

mertenssander commented 5 years ago

Hi all,

The parents endpoint seems to provide the ancestors in its response. As far as I understand the ECL query system, these two queries should give the same response;

Am I missing something (ie. direct parents != inferred parents), or is the parents endpoint misbehaving?

Best regards, Sander

danka74 commented 5 years ago

Hi Sander, I get just the (direct) parents, running 3.1.0-SNAPSHOT commit ce4d54aca9db4547b6381c5a40cd20d3acbb60c4, and the same using any of the two calls above. /Daniel

mertenssander commented 5 years ago

Hi Daniel, Reading your comment, I realized I was calling the company test server, which runs an older version. I will repeat my test tomorrow with a fresh import of the international edition and snowstorm 3.0.3. I will post my findings here. Sorry for the confusion.