termsSet

infix fun Metamodel<*>.termsSet(terms: Collection<String>?)
fun Metamodel<*>.termsSet(terms: Collection<String>?, block: TermsSetQuery.Builder.() -> Unit = {})

creates Terms set query

If terms is null or empty (or no value can be converted), no query is added and the enclosing query is left unchanged. Note that Elasticsearch itself treats an empty terms list as matching no document; this DSL treats it as "no constraint" instead.