Page MenuHomePhabricator

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

Authored by epriestley on Apr 2 2017, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 8:58 PM
Unknown Object (File)
Fri, Apr 5, 12:43 PM
Unknown Object (File)
Fri, Apr 5, 4:42 AM
Unknown Object (File)
Fri, Mar 29, 5:43 AM
Unknown Object (File)
Feb 18 2024, 9:41 PM
Unknown Object (File)
Feb 18 2024, 8:46 PM
Unknown Object (File)
Feb 7 2024, 5:03 AM
Unknown Object (File)
Jan 31 2024, 12:17 AM
Subscribers
None

Details

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)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

It's definitely not obvious that objects are skipped based on the object version rather than what's in the index. So yeah this is helpful.

This revision is now accepted and ready to land.Apr 2 2017, 8:44 PM