stac-api-extensions / collection-search

Collection Search for STAC APIs
Apache License 2.0
10 stars 2 forks source link

Adding simple text search to list of default query parameters #6

Closed chiarch84 closed 1 year ago

chiarch84 commented 1 year ago

I think that in this list of default query parameters a simple text search should be added.

I believe that collections search is mostly done by text search and then in second and third instances by bbox and time. I might be wrong, but I for sure think that text search is one of the most used searches in this case.

m-mohr commented 1 year ago

Free-text search is an independent specification, I think: https://github.com/cedadev/stac-freetext-search

chiarch84 commented 1 year ago

Thanks I didn't know about it. Even though this seems more for items search rather than for collections search.

m-mohr commented 1 year ago

True, we'd need to extend this for collection search, but the functionality is the same, just a different endpoint that accepts the q parameter either in text for json. Maybe open an issue in the extension repo? Happy to link to it from here, but not so happy to copy all the specification from there into here ;-)

chiarch84 commented 1 year ago

sure maybe better to open an issue there! I'll do it!

m-mohr commented 1 year ago

Actually, we inherit q and some other parameters directly from OGC API - Records: https://docs.ogc.org/DRAFTS/20-004.html#_parameter_q

We need to ensure we document all that properly here.

m-mohr commented 1 year ago

Added a proposal.