Skip to content

Use regconfig in sort parse_websearch to prevent out of order results#110

Open
paradoxxxzero wants to merge 1 commit intofalcony-io:masterfrom
paradoxxxzero:fix-sort
Open

Use regconfig in sort parse_websearch to prevent out of order results#110
paradoxxxzero wants to merge 1 commit intofalcony-io:masterfrom
paradoxxxzero:fix-sort

Conversation

@paradoxxxzero
Copy link

Fixes #75

@alext
Copy link

alext commented Oct 21, 2024

I've also just hit this issue. This fix resolves it for me.

I found while testing that using ts_rank_cd with a query parsed with the pg_catalog.simple regconfig (the default in the 1-argument version of parse_websearch) was always returning 0, meaning the results were returned in an arbitrary order.

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

Successfully merging this pull request may close these issues.

regconfig not used when sorting

2 participants