Closed cdekok closed 6 months ago
Describe the enhancement
Add support to the term to accept a boolean
term(query.field, true)
Why is this needed?
Currently it only accepts strings which is a bit awkward to use when dealing with boolean values
How do you think it should be done?
Adding an additional dsl like.
fun QueryClauses.term( field: String, value: Boolean, block: (TermQueryConfig.() -> Unit)? = null )
Will you be able to help with a pull request?
Yes
Sounds good, feel free to add this with a small PR.
Describe the enhancement
Add support to the term to accept a boolean
Why is this needed?
Currently it only accepts strings which is a bit awkward to use when dealing with boolean values
How do you think it should be done?
Adding an additional dsl like.
Will you be able to help with a pull request?
Yes