How can I find all of my nodes data loaded into the legacy registry? #478
Answered
by
NASA Planetary Data System Software Admin
jordanpadams
asked this question in
Q&A
Answered
by
NASA Planetary Data System Software Admin
Return to top
|
I want to verify what data has been loaded into the legacy registry and whether or not it has been loaded into the new OpenSearch registry? |
Answered by
NASA Planetary Data System Software Admin
Feb 25, 2026
Replies: 1 comment
|
You can use the Registry Client to query this information. For all RMS data loaded into the legacy registry, you can create the JSON query file {
"_source": ["node", "lidvid", "product_class", "found_in_registry"],
"size": 5000,
"query": {
"bool": {
"filter": [
{
"bool": {
"should": [
{
"match_phrase": {
"product_class": "Product_Bundle"
}
},
{
"match_phrase": {
"product_class": "Product_Collection"
}
},
{
"match_phrase": {
"product_class": "Product_Document"
}
},
{
"match_phrase": {
"product_class": "Product_External"
}
}
],
"minimum_should_match": 1
}
},
{
"match_phrase": {
"node": "PDS_RMS"
}
}
]
}
}
}Then run registry-client: pds-registry-client -d @rms_registry_data_query.json /en-legacy-registry/_search | json_pp |
0 replies
Answer selected by
NASA Planetary Data System Software Admin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the Registry Client to query this information.
For all RMS data loaded into the legacy registry, you can create the JSON query file
rms_registry_data_query.json{ "_source": ["node", "lidvid", "product_class", "found_in_registry"], "size": 5000, "query": { "bool": { "filter": [ { "bool": { "should": [ { "match_phrase": { "product_class": "Product_Bundle" } }, { "match_phrase": { "product_class": "Product_Collection" } }, { "match_phrase": { …