I had the same question few days back. You can look at the solution suggested by Chantal in this link. http://www.lucidimagination.com/search/document/9bbce5302bd3940e/autocomplete_match_words_anywhere_in_the_token#cec7133bbaf5b49c
On Sat, Oct 2, 2010 at 3:44 PM, sivaprasad <sivaprasa...@echidnainc.com>wrote: > > Hi , > I implemented the auto suggest using terms component.But the suggestions > are > coming from the starting of the word.But i want inner phrases also.For > example, if I type "bass" Auto-Complete should offer suggestions that > include "bass fishing" or "bass guitar", and even "sea bass" (note how > "bass" is not necessarily the first word). > > How can i achieve this using solr's terms component. > > Regards, > Siva > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Autosuggest-with-inner-phrases-tp1619326p1619326.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Arun