Change tokenizer to whitespace
Use ngram only if asked, fixes #5128