IndexSearch API agregate by SRN issue
I am not sure where to report this problem. Please don't hesitate to redirect my issue to the appropriate channel.
I am running OSDU IndexSearch API call on Azure.
I have noticed that the SRN key become all lowercase when using the SRN as facets.
Here is my request:
{
"fulltext": "*",
"start": 0,
"count": 0,
"aggregates_count": 10000,
"metadata": {
"ResourceType": [
"work-product-component/welllog"
]
},
"facets": [
"SRN"
]
}
The answer contains Welllog SRN
{
"results": [],
"total_hits": 929,
"facets": {
"SRN": [
{
"key": "srn:work-product-component/welllog:1013_akm11_1978_comp_las:",
"doc_count": 1
},
{
"key": "srn:work-product-component/welllog:1022_alm01_1970_comp_las:",
"doc_count": 1
},
...
The problem is that all SRN are lowercase, I was expecting 'WellLog' and not 'welllog' You cannot use the key returned by such request as-is for future query.
I have attached a postman collection with this example Agregate_SRN_Case_Issue.postman_collection.json.