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
F15464776: D21560.id51326.diff
Wed, Apr 2, 12:45 PM
F15456174: D21560.id51326.diff
Sun, Mar 30, 7:35 AM
F15452542: D21560.id51324.diff
Sat, Mar 29, 5:54 AM
F15448807: D21560.id51325.diff
Fri, Mar 28, 7:01 AM
F15442122: D21560.diff
Wed, Mar 26, 9:36 PM
F15441880: D21560.id51326.diff
Wed, Mar 26, 8:31 PM
F15418991: D21560.id51326.diff
Fri, Mar 21, 2:49 AM
F15285761: D21560.id51326.diff
Mar 4 2025, 3:56 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.