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

SEARCH-642 (indexer): Drop id fields for cdstub and tag #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

reosarevok
Copy link
Member

Problem

SEARCH-642.

These are not the unique identifiers we use and are not exposed.
For cdstub we expose unique discid, for tag unique name.

Solution

This pull request stops filling this search field.

It also has to be removed it from search schema, see metabrainz/mbsssss#59

Checklist for author

  • Remove the fields from the documentation.

Action

Deploy metabrainz/mbsssss#59
Deploy this pull request
Rebuild cdstub and tag search indexes

These are not the unique identifiers we use and are not exposed.
For cdstub we expose unique discid, for tag unique name.
@yvanzo
Copy link
Contributor

yvanzo commented May 12, 2022

Just rebased on the latest master branch.

Run the following commands to regenerate SQL files:

        python -m sir triggers -bid 2
        ./GenerateDropSql.pl
Copy link
Contributor

@yvanzo yvanzo left a comment

Choose a reason for hiding this comment

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

Since it is a breaking change that requires updating mbsssssat the same time, and thus a new release of mb-solr, I would prefer to merge this pull request and release the related MB Solr schema change separately from the MB Postgres schema change, so as not to further complicate our tests and deployment steps.

LGTMBDNT otherwise.

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.

2 participants