If there is an data like below :
this is a test line contain notepad.exe.
this is not the line I want which contain notepad.exe for test
and hypothesis, I dont know all words in above sentence, what I know is below :
- the sentence contains keyword 'test'
- the sentence contains keyword 'notepad.exe'
- keyword is in strict order: 'exe' after 'notepad', 'notepad' after 'test'
- all keywords may not consecutively
Because reason 4, I can not use match_phrase query,so is there any way I can pick out first line with DSL query ?