openskope / skope-interface

The new SKOPE web portal interface.
https://www.openskope.org
4 stars 2 forks source link

Fix temporal filter matching logic #110

Closed Zodiase closed 6 years ago

Zodiase commented 6 years ago

This resolves #100.

Now it's using "contains" instead of "within" for range matching.

"contains" will make sure all matched results contain the specified filtering range.

See https://www.elastic.co/guide/en/elasticsearch/reference/6.0/range.html for related documentation on range query.