I have an index with documents of following structure:
{ phrases: "fox, brown fox, brown fox jumps", target : "https://google.com" }
In short it should match phrases to an url, but I have multiple phrases in single field, divided by semicolon. I want to be able to return this record when user enters all the woprds wrom ANY phase
So, query "fox" should return this record
query "my fox is brown" should return this record (matches phrase "brown fox")
query "fox jump" should NOT return this record (does not match all words in "brown fox jumps")
Do I have to create my own analyzer? How to achieve this?