Closed d-ribas closed 4 years ago
Hi @d-ribas, I'm sorry to hear you are experiencing problems when browsing the US release in Snowstorm. Thanks for reaching out.
Could you outline the steps you took to set up Snowstorm in terms of the order of imports please? Also did you perform any branch merging? From there we may be able to speculate further.
Kind regards, Kai Kewley
Hi @kaicode, thank you for the quick answer.
The first import was the latest US release RF2 file from SNOMED CT, after that the Core Problems list reference set was added by transforming it to a RF2 format with the following steps:
We did not perform any branch merging so far.
Best Regards
Your procedure sounds fine. I wonder if the some of the same components appear multiple times in the RF2 because of the way the US Edition is packaged. That may be causing the strange search result totals.
In our instance we imported the International Edition in MAIN then set up a second code system on MAIN/SNOMEDCT-US and imported the US Edition there. We know this works, snowstorm actively finds and removes any duplicate components using this method.
I'll take a look at the package and attempt to reproduce the behaviour you are seeing here.
The RF2 looks fine. I've requested a temp server here to try a data load using the US Edition as the root code system. I should have an update early next week.
Thank you for looking into this.
@d-ribas I have had an attempt to replicate the issue, loading up the US Edition snapshot from March 2020 as the root code system and got the results expected, so I couldn't replicate your issue.
Could you please expand and detail how you did the initial import? And could you please post the additional RF2 you created for the core problem list so we can try to have the same environment?
Could you also please say which versions of ElasticSearch and Snowstorm you are running?
Thanks.
Hi @rorydavidson
The initial import was with the March 2020 US Edition and then we imported the additional RF2 that can be seen here: (link removed because data protected by copyright). To import the RF2, in both cases, we used the following command: java -Xms2g -Xmx4g -jar target/snowstorm*.jar --delete-indices --import=[Absolute-path-of-SNOMED-CT-RF2-zip]
We are using Snowstorm v4.8.0 and ElasticSearch v6.8.0
Thank you
Hi @d-ribas ,
Could you please confirm if you used the --delete-indices
flag when you imported the second RF2? If so, that would be the issue. It should be imported on top of the existing indices using the import end point.
Thanks,
Rory
I confirm the -- delete-indices
was used when importing the second RF2, but since the second RF2 is basically the whole US release with the additional reference set i thought there would be no issue, perhaps even the first import of the US release was not needed since the second RF2 already has all the data.
@d-ribas Thanks, I'll download the RF2 and have a look now. To your point, there is no need to have done the first RF2 import as you essentially deleted anyway
@d-ribas I was able to replicate your issue when using your customized package. The error is likely then to be in the package but I couldn't find the additions that you had made.
It may be a better idea to either add the concept via the API or as a separate RF2 containing only that content that you import on top of the US edition.
Please could you also hide the google shared file above as the content should not be shared publicly? Thanks very much.
Hi, I've recently installed snowstorm with the US release of SNOMED in our server and we are facing an issue where the number of results returned does not match the limit and total counters for getConcepts method. I've tried making the same exact api calls on ihtsdotools browser and this specific issue does not happen there, so perhaps there is something missing in our installation. We also added the core problem list reference set from National Library of Medicine, though we believe this should not be causing this problem.
The calls to get concepts, with an included trace file with the results, are as follows:
Can you help us solve this problem? Is there perhaps a configuration on our side that is missing?
Thank you