CredentialEngine / CredentialRegistry

Repository for development of the Credential Registry
Apache License 2.0
12 stars 10 forks source link

Relevance sort order not responding to reversal flag #708

Open siuc-nate opened 3 months ago

siuc-nate commented 3 months ago

Both of these queries yield the same ordering for results:

https://credentialengineregistry.org/ctdl?order_by=^search:relevance
{
    "@type": "ceasn:CompetencyFramework",
    "ceasn:name": "nursing"
}
https://credentialengineregistry.org/ctdl?order_by=search:relevance
{
    "@type": "ceasn:CompetencyFramework",
    "ceasn:name": "nursing"
}

It's unclear whether they are being relevance-sorted at all, or whether they are simply always being sorted by most/least relevant, but the order doesn't change either way. It does appear to be working for other sort order types, including alphabetical sort by property name.

jeannekitchens commented 3 weeks ago

@excelsior update on this?

excelsior commented 3 weeks ago

@jeannekitchens @siuc-nate The fix is still in progress because the previous approach isn't compatible with the recent optimizations.

jeannekitchens commented 3 days ago

@excelsior @edgarf please provide a timeline update for this issue. Thank you.