contains

operator fun contains(field: String): Boolean

Checks if the search hit contains the given field name.


operator fun contains(field: FieldOperations<*>): Boolean

Checks if the search hit contains the given field.