Improve the search query on semantic and bbox

The previous search query was completly broken when searching on a bbox and some semantics tags.

The results could not find relevant pictures and was performing several seqscan on huge tables, making them very long.

This new query should be faster, and relevant, also when only querying semantics

Merge request reports

Loading