HomePhabricator

Count and report skipped documents from "bin/search index"

Description

Count and report skipped documents from "bin/search index"

Summary:
Ref T12450. There's currently a bad behavior where inserting a document into one search service marks it as up to date everywhere.

This isn't nearly as obvious as it should be because bin/search index doesn't make it terribly clear when a document was skipped because the index version was already up to date.

When running bin/seach index without --force or --background, keep track of updated vs not-updated documents and print out some guidance. In other configurations, try to provide more help too.

Test Plan:

Screen Shot 2017-04-02 at 9.17.23 AM.png (107×639 px, 30 KB)

Reviewers: chad, 20after4

Reviewed By: 20after4

Maniphest Tasks: T12450

Differential Revision: https://secure.phabricator.com/D17597

Details

Provenance
epriestleyAuthored on Apr 2 2017, 4:17 PM
epriestleyPushed on Apr 2 2017, 8:45 PM
Reviewer
20after4
Differential Revision
D17597: Count and report skipped documents from "bin/search index"
Parents
rP6d8167503266: Remove "url" from Elasticsearch index
Branches
Unknown
Tags
Unknown
Tasks
T12450: New Search Configuration Errata
Build Status
Buildable 16263
Build 21613: Run Core Tests