How can I add an Elasticsearch filter in Discover?

(glagidse) #1

If I want to write add an Elasticsearch filter in the Discover tab, do I always have to press the magnifying glass, then edit what I get or can I also get an empty Elasticsearch query thingie?

I've looked here:

But it doesn't explain what workflow I should use to filter with DSL in Discover.

(Jon Budzenski) #2

There isn't a way to create an empty filter, so the best way currently is to add one and edit it. The searchbar will also take the elasticsearch DSL:

(system) #3