-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what is the format for the advanced POST request ? #11
Comments
I only worked on Basic, which is aligned with OGC API - Records. Advanced was developed by Cedadev, so they need to clarify. But looking at #10, there are various challenges with basic and advanced anyway. |
My way forward would be to talk to OGC and make sure Basic is still aligned (it moved recently to OGC API - Features - Part 9) and then pitch the idea to use CQL Text/JSON for advanced free-text search instead of our own flavor. That's likely not ideal for cedadev and their use of Advanced, but I'm not sure whether we should go forward with yet another textual representation of logical expressions for Advanced Free Text Search. |
😬 at one point this will just overlap too much with the I'm only looking from the stac-fastapi POV to be honest, so right now I'll just assume the format is of type string |
Yeah, it is somewhat similar, but the filter extension doesn't quite allow that in an easy way. |
Can confirm the POST for the advanced is the same string as GET. I did look at if the advanced search could be implemented using the filter extension but I don't believe CQL allows wildcards so I couldn't make an exact mapping. But maybe a in combination with basic it could be done. I'm happy for the advanced search to be removed from this extension so basic's integration isn't held up. An advanced extension can be written if we can't find a way with CQL. |
It's not clear to me what's the format for the POST request body
in https://github.com/stac-api-extensions/freetext-search?tab=readme-ov-file#http-post, nothing is mentioned. The example shows a simple string 🤷
For the Basic spec we have:
EO,Earth Observation
)["EO","Earth Observation"]
)for the Advanced we have
climate AND model
,climate OR model
,(quick OR brown) AND fox
)The text was updated successfully, but these errors were encountered: