Skip to content

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

Open
paradoxxxzero wants to merge 1 commit into
falcony-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 into
falcony-io:masterfrom
paradoxxxzero:fix-sort

Conversation

@paradoxxxzero

Copy link
Copy Markdown

Fixes #75

@alext

alext commented Oct 21, 2024

Copy link
Copy Markdown

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