AWS M18 Created well log manifest records dont have data node indexed
When creating/storing a well log manifest record, the data node is not returned in the search results.
Here is an example storage request to create a new well log manifest:
curl --location --request PUT 'https://osdu.r3m18.preshiptesting.osdu.aws/api/storage/v2/records' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: osdu' \
--header 'Authorization: Bearer ...' \
--data-raw '[
{
"id": "osdu:work-product-component--WellLog:test",
"kind": "osdu:wks:work-product-component--WellLog:1.1.0",
"acl": {
"viewers": [
"data.default.viewers@osdu.example.com"
],
"owners": [
"data.default.owners@osdu.example.com"
]
},
"legal": {
"legaltags": [
"osdu-public-usa-dataset"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"data": {
"ResourceSecurityClassification": "osdu:reference-data--ResourceSecurityClassification:RESTRICTED:",
"Name": "8438_a0501_1999_comp.las",
"Description": "Well Log",
"Datasets": [
"osdu:dataset--File.Generic:b823822e4dfed1d09c7ebc9b6fc6e73706aeaa06005fb5797096bf1ad61b0dc7"
],
"WellboreID": "osdu:master-data--Wellbore:8438:",
"TopMeasuredDepth": 2732.1004,
"BottomMeasuredDepth": 3942.8004,
"Curves": [
{
"Mnemonic": "DEPT",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:M:",
"NumberOfColumns": 1.0
},
{
"Mnemonic": "GR",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:GAPI:",
"NumberOfColumns": 1.0
},
{
"Mnemonic": "DT",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:US%2FF:",
"NumberOfColumns": 1.0
},
{
"Mnemonic": "RHOB",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:G%2FC3:",
"NumberOfColumns": 1.0
},
{
"Mnemonic": "DRHO",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:G%2FC3:",
"NumberOfColumns": 1.0
},
{
"Mnemonic": "NPHI",
"TopDepth": 2732.1,
"BaseDepth": 3942.8,
"CurveUnit": "osdu:reference-data--UnitOfMeasure:V%2FV:",
"NumberOfColumns": 1.0
}
],
"SamplingInterval": -0.09999999999990905,
"SamplingStart": 3942.8004,
"SamplingStop": 2732.1004
},
"meta": [
{
"kind": "osdu",
"name": "metre",
"persistableReference": "{\"abcd\":{\"a\":0.0,\"b\":1.0,\"c\":1.0,\"d\":0.0},\"symbol\":\"m\",\"baseMeasurement\":{\"ancestry\":\"L\",\"type\":\"UM\"},\"type\":\"UAD\"}",
"unitOfMeasureID": "osdu:reference-data--UnitOfMeasure:M:",
"propertyNames": [
"TopMeasuredDepth",
"BottomMeasuredDepth",
"SamplingInterval",
"SamplingStart",
"SamplingStop",
"Curves[].TopDepth",
"Curves[].BaseDepth"
]
}
],
"tags": {}
}
]'
When searching on this record, the data node is not returned:
curl --location 'https://osdu.r3m18.preshiptesting.osdu.aws/api/search/v2/query' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: osdu' \
--header 'Authorization: Bearer ...' \
--data '{
"kind": "osdu:wks:*:*",
"query":"id:\"osdu:work-product-component--WellLog:test\""
}
'
Response:
{
"results": [
{
"createTime": "2023-06-29T14:18:17.469Z",
"kind": "osdu:wks:work-product-component--WellLog:1.1.0",
"authority": "osdu",
"namespace": "osdu:wks",
"legal": {
"legaltags": [
"osdu-public-usa-dataset"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
},
"createUser": "admin-main@testing.com",
"source": "wks",
"acl": {
"viewers": [
"data.default.viewers@osdu.example.com"
],
"owners": [
"data.default.owners@osdu.example.com"
]
},
"id": "osdu:work-product-component--WellLog:test",
"type": "work-product-component--WellLog",
"version": 1688048297414079,
"tags": {
"normalizedKind": "osdu:wks:work-product-component--WellLog:1"
}
}
],
"aggregations": null,
"totalCount": 1
}