I configure the Word Delimiter filter as follow:
"type" : "word_delimiter", "generate_word_parts": "true", "split_on_numerics": "false", "split_on_case_change": "false", "preserve_original": "true"
However, I notice that if I have the query "AEROSOL-GENERATING", it creates 2 tokens: AEROSOL and GENERATING. It will then retrieve documents with aerosol OR generating OR aerosol-generating. How can I change this behavior for the word parts from OR to AND? I.e. I want to run this query as ((aerosol AND generating) OR aerosol-generating).
Tips highly appreciated!