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

Update search index command in documentation #1416

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

yohanboniface
Copy link
Member

Sadly, when using a SearchVector, Django will introduce a COALESCE that will then prevent our index to be used. So we need to add this COALESCE in the index to make psql happy.

fix #1414

Sadly, when using a SearchVector, Django will introduce a COALESCE
that will then prevent our index to be used. So we need to add
this COALESCE in the index to make psql happy.

fix #1414
Copy link
Contributor

@davidbgk davidbgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we have to make a migration for already running instances?

@yohanboniface
Copy link
Member Author

This index is in documentation and not in the code, because we cannot know which "search configuration dict" (related to the language) is used in which instance :(

I guess this should be a message in a "uMap maintainer mailing list" if we had such a thing ;)

@davidbgk
Copy link
Contributor

Just watch me. 😇

@yohanboniface yohanboniface merged commit 0a900bd into master Nov 21, 2023
@yohanboniface yohanboniface deleted the search-index-doc branch November 21, 2023 19:55
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.

Improvements on database
2 participants