NASA-PDS / pds-api

PDS web APIs specifications and user's manual
http://nasa-pds.github.io/pds-api
Other
5 stars 3 forks source link

Documentation references OpenSearch Simple Query String but Registry API does not support that #269

Open jordanpadams opened 1 year ago

jordanpadams commented 1 year ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

When I did a query using the OpenSearch fuzziness special character, I noticed I get a 500 error.

🕵️ Expected behavior

I expected the query to work, or the documentation to be more specific and tell me what it actually supports from OpenSearch simple query string.

📜 To Reproduce

> curl --get 'https://pds.nasa.gov/api/search/1/products' \
    --data-urlencode 'q=(pds:Time_Coordinates.pds:local_mean_solar_time like "Sol~2")'

{
   "error" : "Internal Server Error",
   "path" : "/products",
   "status" : 500,
   "timestamp" : 1691178332842
}

🖥 Environment Info

N/A

📚 Version of Software Used

API v1.2

🩺 Test Data / Additional context

No response

🦄 Related requirements

No response

⚙️ Engineering Details

No response