Page MenuHomePhabricator

Remove LabelCountField from WikibaseCirrusSearch
Closed, ResolvedPublic

Description

As described in T376250#10228472 and confirmed in T376250#10229167, this field was added to WikibaseCirrusSearch to potentially help with scoring / ranking (see T110648#1811494), but was never actually used. Let’s drop it before we start to reuse these fields in EntitySchema.

Event Timeline

Change #1080307 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@master] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080307

Change #1080308 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseCirrusSearch@master] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080308

Change #1080309 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@master] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080309

Change #1080332 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/mediawiki-config@master] cirrus: cleanup removed label_count field on next re-index

https://gerrit.wikimedia.org/r/1080332

Change #1080307 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@master] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080307

Change #1080308 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@master] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080308

Change #1080309 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@master] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080309

Change #1080669 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.27] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080669

Change #1080670 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseCirrusSearch@wmf/1.43.0-wmf.27] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080670

Change #1080671 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.27] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080671

Change #1080673 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.26] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080673

Change #1080674 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseCirrusSearch@wmf/1.43.0-wmf.26] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080674

Change #1080676 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.26] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080676

Change #1080673 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.26] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080673

Change #1080669 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.27] Hard-code LabelCountField::NAME

https://gerrit.wikimedia.org/r/1080669

Change #1080674 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@wmf/1.43.0-wmf.26] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080674

Change #1080670 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@wmf/1.43.0-wmf.27] Remove LabelCountField

https://gerrit.wikimedia.org/r/1080670

Change #1080671 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.27] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080671

Change #1080676 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@wmf/1.43.0-wmf.26] Drop label_count field (LabelCountField)

https://gerrit.wikimedia.org/r/1080676

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:13:04Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1080702|Tests: Skip testViewForExistingGlobalTemporaryAccount (T377197)]], [[gerrit:1080669|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080670|Remove LabelCountField (T377226)]], [[gerrit:1080671|Drop label_count field (LabelCountField) (T377226)]], [[gerrit:1080703|Tests: Skip testViewForExistingGlobalTemporaryAccount (T377197

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:13:31Z] <Lucas_WMDE> [cont.] )]], [[gerrit:1080673|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080674|Remove LabelCountField (T377226)]], [[gerrit:1080676|Drop label_count field (LabelCountField) (T377226)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:15:18Z] <lucaswerkmeister-wmde@deploy2002> lucaswerkmeister-wmde: Backport for [[gerrit:1080702|Tests: Skip testViewForExistingGlobalTemporaryAccount (T377197)]], [[gerrit:1080669|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080670|Remove LabelCountField (T377226)]], [[gerrit:1080671|Drop label_count field (LabelCountField) (T377226)]], [[gerrit:1080703|Tests: Skip testViewForExistingGlobalTemporaryAccount (T377197)]

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:15:48Z] <Lucas_WMDE> [cont.] ], [[gerrit:1080673|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080674|Remove LabelCountField (T377226)]], [[gerrit:1080676|Drop label_count field (LabelCountField) (T377226)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:24:41Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1080702|Tests: Skip testViewForExistingGlobalTemporaryAccount (T377197)]], [[gerrit:1080669|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080670|Remove LabelCountField (T377226)]], [[gerrit:1080671|Drop label_count field (LabelCountField) (T377226)]], [[gerrit:1080703|Tests: Skip testViewForExistingGlobalTemporaryAccount (T37719

Mentioned in SAL (#wikimedia-operations) [2024-10-16T14:24:59Z] <Lucas_WMDE> [cont.] 7)]], [[gerrit:1080673|Hard-code LabelCountField::NAME (T377226)]], [[gerrit:1080674|Remove LabelCountField (T377226)]], [[gerrit:1080676|Drop label_count field (LabelCountField) (T377226)]] (duration: 11m 36s)

Change #1080332 merged by jenkins-bot:

[operations/mediawiki-config@master] cirrus: cleanup removed label_count field on next re-index

https://gerrit.wikimedia.org/r/1080332

Mentioned in SAL (#wikimedia-operations) [2024-10-17T07:08:47Z] <dcausse@deploy2002> Started scap sync-world: Backport for [[gerrit:1080332|cirrus: cleanup removed label_count field on next re-index (T377226)]]

Mentioned in SAL (#wikimedia-operations) [2024-10-17T07:13:23Z] <dcausse@deploy2002> dcausse: Backport for [[gerrit:1080332|cirrus: cleanup removed label_count field on next re-index (T377226)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-17T07:19:28Z] <dcausse@deploy2002> Finished scap sync-world: Backport for [[gerrit:1080332|cirrus: cleanup removed label_count field on next re-index (T377226)]] (duration: 10m 40s)

AFAICT everything's merged & deployed, the label_count should no longer be populated from CirrusSearch. The data itself will stay in the search index until we run a re-index which is tracked in a separate ticket at T147505.

I think this is done from our side, then; do you want to leave the task open until the next reindex or just close it?

dcausse assigned this task to Lucas_Werkmeister_WMDE.

I think this is done from our side, then; do you want to leave the task open until the next reindex or just close it?

we can close it, the reindex is tracked separately.