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
F15558622: D21560.id51324.diff
Tue, Apr 29, 4:40 AM
F15554198: D21560.id51325.diff
Mon, Apr 28, 6:00 AM
F15549427: D21560.id.diff
Sun, Apr 27, 5:40 AM
F15547444: D21560.diff
Sat, Apr 26, 7:11 PM
F15534959: D21560.id51326.diff
Thu, Apr 24, 2:49 AM
F15525222: D21560.id51326.diff
Mon, Apr 21, 12:53 PM
F15517775: D21560.id51328.diff
Sat, Apr 19, 8:19 AM
F15512874: D21560.id51324.diff
Thu, Apr 17, 2:37 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.