Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect scoring and sorting of results? #375

Open
SamMcKay opened this issue Sep 30, 2022 · 0 comments
Open

Incorrect scoring and sorting of results? #375

SamMcKay opened this issue Sep 30, 2022 · 0 comments

Comments

@SamMcKay
Copy link

SamMcKay commented Sep 30, 2022

This search string 278 Ross River Rd Aitkenvale QLD 4814

Returns these results

[
    {
        "sla": "SHOP 5, 278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "ssla": "5/278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 95.32193,
    },
    {
        "sla": "SHOP 6, 278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "ssla": "6/278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 95.32193
    },
    {
        "sla": "SHOP 1, 278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "ssla": "1/278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 95.30868
    },
    {
        "sla": "SHOP 2, 278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "ssla": "2/278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 95.30868
    },
    {
        "sla": "SHOP 3, 278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "ssla": "3/278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 95.30868
    },
    {
        "sla": "278 ROSS RIVER RD, AITKENVALE QLD 4814",
        "score": 70.179115
    }
]

I would have thought that the final result should have the highest score and be first in the list of returned results?

These results where produced by hitting the hosted https://addressr.p.rapidapi.com/addresses endpoint.

@SamMcKay SamMcKay changed the title Incorrect score and sorting of results Incorrect scoring and sorting of results? Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant