MinMaxLengthDocumentFilter
class MinMaxLengthDocumentFilter(val minLength: Int, maxLength: Int) : MaxLengthDocumentFilter(source)
Similar to MaxLengthDocumentFilter, but the length cannot go below minLength either.
Parameters
minLength
the minimum allowable length of the document; if the length is initially below this value, any progress made towards this value is accepted but cannot be undone
maxLength
the maximum allowable length of the document