IBM R3 M19 environment having issue with Search and or indexer service.
After ingesting the data using manifest ingestion (Osdu_ingest), one can retrieve the data using storage API, but cannot retrieve it using the Search API.
Even after waiting for more then 15 minutes.
Using Storage API
curl --location 'https://cpd-osdu.apps.ibmosdu-preship.lndu.p1.openshiftapps.com/osdu-storage/api/storage/v2/records/opendes:master-data--GeoPoliticalEntity:Limburg' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer eyJhbGciOi...Truncated...3k3p_JLqg'
Response 200 OK
{
"data": {
"GeoPoliticalEntityName": "Limburg",
"Source": "TNO",
"VirtualProperties.DefaultName": "Limburg"
},
"meta": null,
"modifyUser": "osdu-bvt@osdu.opengroup.org",
"modifyTime": "2023-08-08T13:40:37.481Z",
"id": "opendes:master-data--GeoPoliticalEntity:Limburg",
"version": 1691502037052901,
"kind": "osdu:wks:master-data--GeoPoliticalEntity:1.0.0",
"acl": {
"viewers": [
"data.default.viewers@opendes.ibm.com"
],
"owners": [
"data.default.owners@opendes.ibm.com"
]
},
"legal": {
"legaltags": [
"opendes-R3FullManifest-Legal-Tag-Test7791699"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "osdu-bvt@osdu.opengroup.org",
"createTime": "2023-08-04T20:51:59.686Z"
}
But when one performs the search using Search API, the results returned are zero for the count.
curl --location 'https://cpd-osdu.apps.ibmosdu-preship.lndu.p1.openshiftapps.com/osdu-search/api/search/v2/query' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer eyJhbGciOi...Truncated...3p_JLqg' \
--data '{
"kind": "osdu:wks:master-data--GeoPoliticalEntity:1.0.0",
"query" : "*",
"limit" : 500,
"returnedFields" : ["id"]
}'
Response 200 OK
{
"results": [],
"aggregations": [],
"totalCount": 0
}
Does not matter what search is being performed, the total count returned is zero.