Is is possible in Episerver Find to search for an exact phrase, the default implementation of Find searches for occurrences of "Castle" and "Dover" and add weighting to the search results. But I want to search for "Castle Dover"; the exact phrase with spaces.
Is this possible?
Hi Thanks, .WithAndAsDefaultOperator() surely is a helpful feature I didn't know about, but it does a "Castle AND Dover", not a literal string. I want to search for the exact phrase which is entered. Like "Castle Dover".
Enclose it in double quotes when passing the text to the query.
Ok, thanks, I will try that.