Code Monkey home page Code Monkey logo

Comments (5)

kaicode avatar kaicode commented on June 25, 2024 1

There is a fix for this in the develop branch: to apply the same sorting as the main Snowstorm product, when within the first 100 results, without a loss of performance.
Initial testing looks good!

from snowstorm-lite.

JonZammit avatar JonZammit commented on June 25, 2024

Hi @ivank just looking at the "version" parameter in the response - does your instance of Snowstorm-lite have the January 2023 version loaded?

from snowstorm-lite.

JonZammit avatar JonZammit commented on June 25, 2024

Today I ran Ivan's query against my instance of snowstorm-lite which has the January 2024 edition loaded. My results were similar - 50 concepts in the expansion of this value set.

I'm not sure how the concepts are ordered in the response, but I believe the difference in numbers can be explained because snowstorm-lite includes inactive concepts in the value set. These can be filtered as they are indicated as inactive, for e.g.

            {
                "system": "http://snomed.info/sct",
                "inactive": true,
                "code": "366980001",
                "display": "Suspected breast cancer"
            }

from snowstorm-lite.

kaicode avatar kaicode commented on June 25, 2024

@ivank Thanks for reaching out.
Snowstorm Lite does not use the same search mechanism as Snowstorm. The lite search is much faster but the results ranking is not as good in some cases. This is because the results ranking sorts concepts on their average description length, rather than the length of the description that matched the search query.

The relevance of the results can be improved by searching the specific area of the hierarchy you are interested in using ECL. Examples:

I hope that helps.

Long Explanation
Snowstorm searches against individual descriptions, sorts them by the shortest matching description first, and then returns the unique concepts.
Snowstorm Lite only has concept documents, it finds concepts that have some matching description. Sorting happens using the average description length.

from snowstorm-lite.

kaicode avatar kaicode commented on June 25, 2024

This is fixed in the latest version 1.3.0-beta.

from snowstorm-lite.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.