Slow performance for osdu search queries
The performance for OSDU Search queries is slow and can take over several seconds to complete.
In order to fully retrieved data, several OSDU services need to be called (for example to retrieve well log data would involve performing a search query and dataset retrievalInstructions service request).
Ideally, the typical search query should take less than 500 milliseconds.
Below is an example search query to find all the children for a wellbore in the Azure M15 pre-shipping environment.
curl --location --request POST 'https://osdu-ship.msft-osdu-test.org/api/search/v2/query' \
--header 'Content-Type: application/json' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer {{access_token}}' \
--data-raw '{
"kind": "osdu:wks:*:*",
"query":"data.WellboreID:\"opendes:master-data--Wellbore:7011\""
}'
This request seems to take at least 4 seconds to complete.