When dealing with phrases consisting with two words, I want to index them as one token and not retrieve them when the search matching one of those words. For ex. I have document with "French Toast", when someone is searching for "Toast with cheese" or "french crepe" I don't want the "french toast" to be retrieved as it's not relevant. any ideas?
Thanks
Why not use wildcard field and wildcard query?
Hi Talya.
Sounds like you want to index using shingles
2 Likes
I can't change the query, just the analyzer..
1 Like
Analysers are used on both documents and queries so that they can match searches.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.