That is going to be a very slow search in Solr. But if you want to match space separated words, that is very easy and fast in Solr. Surround the phrase in quotes: “N Derek”.
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On May 10, 2016, at 3:53 PM, Thrinadh Kuppili <thrinadh...@gmail.com> wrote: > > Thanks Nick, will look into it. > > My main moto is to able to search like %xxx xxx% similar to database search > of contians with. > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-search-in-solr-for-words-like-rek-Dr-tp4275854p4275970.html > Sent from the Solr - User mailing list archive at Nabble.com.