Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
{“what”:“Unique numeric identifier for each index row.”,“why”:“Without it, rows cannot be uniquely referenced or updated.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:22.928199578+00:00”} |
|
| search_vector | tsvector | 2147483647 | null |
|
|
{“what”:“Full-text search vector built from indexed text fields.”,“why”:“Enables full-text search; without it, no searchable representation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:22.943245068+00:00”} |
||
| with_native_query_vector | tsvector | 2147483647 | null |
|
|
{“what”:“Search vector that includes native query terms for matching.”,“why”:“Distinguishes native query results; without it, native query search fails.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:22.956020984+00:00”} |
||
| model | varchar | 32 | null |
|
|
{“what”:“Type or name of the indexed model (e.g., ‘card’, ‘dashboard’).”,“why”:“Filters search results by model type; without it, cannot scope searches.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:22.967760555+00:00”} |
||
| display_data | text | 2147483647 | null |
|
|
{“what”:“Serialized JSON or text for rendering search result snippets.”,“why”:“Provides display content without loading full model; without it, results lack preview.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.024402192+00:00”} |
||
| legacy_input | text | 2147483647 | null |
|
|
{“what”:“Original input text used to generate the index.”,“why”:“Allows re-indexing or debugging; without it, cannot trace search matches.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.050902212+00:00”} |
||
| created_at | timestamptz | 35,6 | CURRENT_TIMESTAMP |
|
|
{“what”:“UTC timestamp when the index row was created.”,“why”:“Tracks when entry was added; without it, cannot order by creation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.087199668+00:00”} |
||
| updated_at | timestamptz | 35,6 | null |
|
|
{“what”:“UTC timestamp of last update to this row.”,“why”:“Needed for incremental re-indexing and cache invalidation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.106696571+00:00”} |
||
| archived | bool | 1 | false |
|
|
{“what”:“Flag indicating the indexed item is archived and hidden from search.”,“why”:“Without it, archived items would appear in results.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.149099190+00:00”} |
||
| model_updated_at | timestamptz | 35,6 | √ | null |
|
|
{“what”:“Timestamp of the underlying model’s last update.”,“why”:“Used to decide if index is stale; without it, cannot detect outdated entries.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.171012849+00:00”} |
|
| is_published | bool | 1 | √ | null |
|
|
{“what”:“Flag indicating the model is published and searchable.”,“why”:“Filters unpublished content; without it, drafts appear.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.199163419+00:00”} |
|
| pinned | bool | 1 | √ | null |
|
|
{“what”:“Flag to pin the result to top of search.”,“why”:“Without it, pinned items lose priority.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.233060433+00:00”} |
|
| collection_id | int4 | 10 | √ | null |
|
|
{“what”:“Identifier of the collection this model belongs to.”,“why”:“Filters by collection; without it, collection-scoped search impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.281564071+00:00”} |
|
| official_collection | bool | 1 | √ | null |
|
|
{“what”:“Flag indicating the collection is official.”,“why”:“Used to boost official content; without it, cannot distinguish.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.302535064+00:00”} |
|
| name | text | 2147483647 | null |
|
|
{“what”:“Human-readable name of the indexed model.”,“why”:“Used for display and search matching; without it, results lack title.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.322289194+00:00”} |
||
| source_type | text | 2147483647 | √ | null |
|
|
{“what”:“Origin type of the model (e.g., ‘csv’, ‘api’).”,“why”:“Filters by source; without it, cannot segment by source.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.354222347+00:00”} |
|
| has_temporal_dim | bool | 1 | √ | null |
|
|
{“what”:“Indicates if the model has a time dimension.”,“why”:“Used for time-based search filters; without it, temporal queries fail.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.366114865+00:00”} |
|
| last_edited_at | timestamptz | 35,6 | √ | null |
|
|
{“what”:“UTC timestamp of last edit to the model.”,“why”:“Used for sorting by recency; without it, cannot order by edit time.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.385039591+00:00”} |
|
| dashboardcard_count | int4 | 10 | √ | null |
|
|
{“what”:“Number of dashboard cards referencing this model.”,“why”:“Used for popularity or usage metrics; without it, cannot rank by usage.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.487982961+00:00”} |
|
| non_temporal_dim_ids | text | 2147483647 | √ | null |
|
|
{“what”:“Serialized list of dimension IDs that are not temporal.”,“why”:“Used for filtering by dimensions; without it, dimension filters break.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.512899609+00:00”} |
|
| dashboard_id | int4 | 10 | √ | null |
|
|
{“what”:“Identifier of the dashboard this model belongs to.”,“why”:“Filters by dashboard; without it, dashboard-scoped search impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.527955744+00:00”} |
|
| last_editor_id | int4 | 10 | √ | null |
|
|
{“what”:“User ID of the last editor.”,“why”:“Tracks ownership or audit; without it, cannot attribute changes.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.553948117+00:00”} |
|
| model_id | text | 2147483647 | √ | null |
|
|
{“what”:“Unique identifier of the underlying model (e.g., UUID).”,“why”:“Links index to actual model; without it, cannot fetch full model.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.581548700+00:00”} |
|
| display_type | text | 2147483647 | √ | null |
|
|
{“what”:“Rendering type for the result (e.g., ‘table’, ‘chart’).”,“why”:“Determines how to display; without it, UI cannot choose layout.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.596244968+00:00”} |
|
| last_viewed_at | timestamptz | 35,6 | √ | null |
|
|
{“what”:“UTC timestamp of last view.”,“why”:“Used for recency sorting; without it, cannot order by last view.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.615967361+00:00”} |
|
| database_id | int4 | 10 | √ | null |
|
|
{“what”:“Identifier of the database connection.”,“why”:“Filters by database; without it, cannot scope to database.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.651880861+00:00”} |
|
| creator_id | int4 | 10 | √ | null |
|
|
{“what”:“User ID of the creator.”,“why”:“Filters by creator; without it, cannot find user’s content.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.680172565+00:00”} |
|
| view_count | int4 | 10 | √ | null |
|
|
{“what”:“Number of times the model was viewed.”,“why”:“Used for popularity ranking; without it, cannot sort by views.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.698592775+00:00”} |
|
| model_created_at | timestamptz | 35,6 | √ | null |
|
|
{“what”:“UTC timestamp when the model was created.”,“why”:“Used for sorting by creation; without it, cannot order by creation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.710164119+00:00”} |
|
| verified | bool | 1 | √ | null |
|
|
{“what”:“Flag indicating the model is verified.”,“why”:“Used to boost verified content; without it, cannot distinguish.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T04:12:23.732611099+00:00”} |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| search_index__ntgrte0f0kqq07pxwaiwg_pkey | Primary key | Asc | id |
| search_index__ntgrte0f0kqq07pxwaiwg_archived_idx | Performance | Asc | archived |
| search_index__ntgrte0f0kqq07pxwaiwg_identity_idx | Must be unique | Asc/Asc | model + model_id |
| search_index__ntgrte0f0kqq07pxwaiwg_model_archived_idx | Performance | Asc/Asc | model + archived |
| search_index__ntgrte0f0kqq07pxwaiwg_native_tsvector_idx | Performance | Asc | with_native_query_vector |
| search_index__ntgrte0f0kqq07pxwaiwg_tsvector_idx | Performance | Asc | search_vector |