Examine
Examine copied to clipboard
How to perform phrase query?
I have a index with a product name, product department and product Type. I want to search using department name and type. The department name contains multiple word, so I need to perform phrase query. How should I do this using examine such as select product where department like "general dept" or department like "special category" and product Type like "kids" ?
@Shazwazza Could you please help here?
The docs could be updated to include this info, please feel free to create a PR to update the docs (it's very easy to do). The searching docs: https://shazwazza.github.io/Examine/searching has a link to the FluentAPI tests which have tons of examples, including some with Phrase matching https://github.com/Shazwazza/Examine/blob/dev/src/Examine.Test/Examine.Lucene/Search/FluentApiTests.cs