Page MenuHomePhabricator

When documents are indexed, record the indexer version (versus the object version) and index epoch

Authored by epriestley on Tue, Feb 16, 11:59 PM.



Ref T13587. D21495 has significant changes to the ngram indexer, which might possibly contain bugs.

Make it easier to reindex a subset of documents (based on the date when the index was built, and/or the software version which generated the index).

This is in addition to the existing versioning, which is focused on object versions.

Test Plan

Ran bin/search index with various old and new arguments. Spot-checked the IndexVersion table.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Owners added a subscriber: Restricted Owners Package.Tue, Feb 16, 11:59 PM
  • Fix typos and bugs, test more "--type" flag values.
  • Correct "bin/index" -> "bin/search index".
This revision was not accepted when it landed; it landed in state Needs Review.Wed, Feb 17, 12:09 AM
This revision was automatically updated to reflect the committed changes.