cedadev / search-futures

Future Search Architecture
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

support numeric and boolean queries to the STAC API #160

Open Mahir-Sparkess opened 2 years ago

Mahir-Sparkess commented 2 years ago

The filters parameter for faceted search only supports keyword searches as the default template dictates it. https://github.com/cedadev/stac-fastapi-elasticsearch/blob/4c7f298119598f9ea0b3ee3744b7bb7538fc59b8/stac_fastapi/elasticsearch/utils.py#L174

Need to identify when a filter query is given, and what format to send it to the elasticsearch parser to be a numeric or boolean query.

Example queries to support

  1. filesize > 60000
  2. replica != true (ESGF)