Hello, You can accomplish this by using n-grams or edge n-grams, which you'll use as field types for fields where you want such matching to occur and that you will specify in schema.xml. I hope this helps.
Otis ---- Performance Monitoring SaaS for Solr - http://sematext.com/spm/solr-performance-monitoring/index.html ----- Original Message ----- > From: jawedshamshedi <jawedshamsh...@gmail.com> > To: solr-user@lucene.apache.org > Cc: > Sent: Friday, January 20, 2012 6:57 AM > Subject: Search within words > > Hi all, > > I want to search a string in the same way as mysql like does i.e. > if the word is say Sunrise then if i search rise then again sun rise should > come and if I choose sun then again sunrise should come and if I use sunrise > then again sunrise should come in search. > > the search should no be case sensitive. > > Will need a descriptive answer to do this as I am new to solr > > Thanks > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Search-within-words-tp3675210p3675210.html > Sent from the Solr - User mailing list archive at Nabble.com. >