Matching entire sentence with spaces in lucene BooleanQuery

Viewed 1356

I have a search string ,

Tulip INN Riyadhh
 Tulip INN Riyadhh LUXURY
 Suites of Tulip INN RIYAHdhh

I need search term , if i mention

 *Tulip INN Riyadhh*

it has to return all the three above, i have restriction that i have to achieve this without QueryParser or Analyser, it has to be only BooleanQuery/WildCardQuery/etc....

Regards, Raghavan

2 Answers
Related