Search version list resource
Subsystem: Search 🔎 The version list resource is bookkeeping used to update the search subsytem. Effectively, this resource is a mapping of package IDs to their versions. It is initially created by the Db2AzureSearch tool and is kept up-to-date by the Catalog2AzureSearch job.Purpose
The search index stores up to 4 documents per package ID. These documents store the metadata for the latest listed version across these pivots:- Prerelease - Includes packages that aren’t stable
- SemVer - Includes packages that require SemVer 2.0.0 support
Content
Version lists are stored in the Azure Blob Storage container for search auxiliary files, in theversion-lists folder. There is a JSON blob for each package ID where the blob’s name is the package ID, lower-cased.
Say package Foo.Bar has four versions:
1.0.0- This version is unlisted and should be hidden from search results2.0.0- This version is listed3.0.0- This version is listed is requires SemVer 2.0.0 support4.0.0-prereleaseThis version is listed and is prerelease
Foo.Bar would have a blob named version-lists/foo.bar.json with content:
false values are omitted. An unlisted version that does not require SemVer 2.0.0 does not have any properties.
The order of versions within the VersionProperties object is undefined.