Page MenuHomePhabricator

updateSearchIndexConfig.php reports index is different after reindexing
Closed, ResolvedPublic

Description

When reindexing with updateSearchIndexConfig.php, after reindex is completed, if you run reindex again it still claims mappings are different. This should not be happening.

Event Timeline

Smalyshev created this task.May 5 2017, 9:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 5 2017, 9:36 PM
Smalyshev triaged this task as Normal priority.May 5 2017, 10:02 PM

Change 352277 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[mediawiki/extensions/CirrusSearch@master] Make config update produce configs that do not always require updating.

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

Change 352277 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] Make config update produce configs that do not always require updating.

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

Still happens with frwiki:

near_match_asciifolding: descend...
         type: custom ?? custom...
         tokenizer: no_splitting ?? no_splitting...
         filter: descend...
                 0: icu_normalizer ?? truncate_keyword...different...cannot correct

This is after in-place reindexing.

Smalyshev closed this task as Resolved.May 30 2017, 12:11 AM

frwiki issue was failed indexing. It's fine now.