Searching for exact phrase
问题 How do i achieve "Exact Phrase" functionality on this field using BooleanQuery/any other class? For example if a user types in "top selling book" then it should return books which has this phrase in its description. Thanks again! 回答1: Having the query within double quotes should work. 来源: https://stackoverflow.com/questions/431556/searching-for-exact-phrase