search: add legacy id for all resources in bleve (#103206)

* add legacy id for all resources in bleve
This commit is contained in:
Will Assis
2025-04-02 08:20:23 -04:00
committed by GitHub
parent 2afeebec28
commit 08042ae827
13 changed files with 56 additions and 52 deletions
@@ -31,7 +31,7 @@
],
"errors_last_1_days": 1,
"errors_last_7_days": 1,
"legacy_id": 141,
"grafana.app/deprecatedInternalID": 141,
"link_count": 0,
"panel_types": [
"barchart",
+9 -9
View File
@@ -43,6 +43,13 @@
"description": "created timestamp",
"priority": 0
},
{
"name": "grafana.app/deprecatedInternalID",
"type": "number",
"format": "int64",
"description": "Deprecated legacy id of the resource",
"priority": 0
},
{
"name": "schema_version",
"type": "number",
@@ -168,13 +175,6 @@
"format": "int64",
"description": "Total number of views",
"priority": 0
},
{
"name": "legacy_id",
"type": "number",
"format": "int64",
"description": "Deprecated legacy id of the dashboard",
"priority": 0
}
],
"rows": [
@@ -228,6 +228,7 @@
"xxx",
null,
null,
11,
null,
null,
[
@@ -247,7 +248,6 @@
100,
null,
null,
null,
null
],
"object": {
@@ -271,6 +271,7 @@
"xxx",
null,
null,
10,
null,
null,
[
@@ -291,7 +292,6 @@
50,
null,
null,
null,
null
],
"object": {
+11 -2
View File
@@ -42,6 +42,13 @@
"format": "int64",
"description": "created timestamp",
"priority": 0
},
{
"name": "grafana.app/deprecatedInternalID",
"type": "number",
"format": "int64",
"description": "Deprecated legacy id of the resource",
"priority": 0
}
],
"rows": [
@@ -52,7 +59,8 @@
null,
null,
null,
null
null,
321
],
"object": {
"kind": "folders",
@@ -71,7 +79,8 @@
null,
null,
null,
null
null,
123
],
"object": {
"kind": "folders",