Page MenuHomePhabricator

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

Authored by epriestley on Feb 16 2021, 11:59 PM.
Tags
None
Referenced Files
F18108247: D21560.id51324.diff
Mon, Aug 11, 5:44 AM
F18106491: D21560.diff
Sun, Aug 10, 11:06 PM
F18103561: D21560.id51325.diff
Sun, Aug 10, 6:27 AM
F18099585: D21560.id.diff
Sat, Aug 9, 6:32 AM
F18098379: D21560.diff
Fri, Aug 8, 7:51 PM
F18024968: D21560.id51325.diff
Sat, Aug 2, 9:33 PM
F17949579: D21560.id51328.diff
Thu, Jul 31, 11:41 PM
F17948440: D21560.id51326.diff
Thu, Jul 31, 9:08 PM
Subscribers
Restricted Owners Package

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 16 2021, 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.Feb 17 2021, 12:09 AM
This revision was automatically updated to reflect the committed changes.