Match All Query
The most simple query, which matches all documents, giving them all a score of 1.0.
To create a MatchAll query do the following:
import zio.elasticsearch.query.MatchAllQuery
import zio.elasticsearch.ElasticQuery._
val query: MatchAllQuery = matchAll
If you want to change the boost, you can use the boost method:
val queryWithBoost: MatchAllQuery = matchAll.boost(1.2)
You can find more information about MatchAll query here.