setSplitOnWhitespace

fun setSplitOnWhitespace(splitOnWhitespace: Boolean)

Whether query text should be split on whitespace prior to analysis. Default is {@value #DEFAULT_SPLIT_ON_WHITESPACE}.

The combination splitOnWhitespace=false and autoGeneratePhraseQueries=true is disallowed. See LUCENE-7533.