What worked for me was tweaking a code from velocity file, head.vm, I changed 'terms.prefix': function() { return $("#q").val().toLowerCase();}, which solved my issue as I am using terms component for suggestions.
Dmitry Kan-2 wrote > what kind of suggester are you using? Does its index get rebuilt when you > reindex your data? > From the analysis page at least I see, that you get a hit on Game, which > is > lowercased to game. > > > On Thu, Apr 17, 2014 at 10:55 AM, Sunayana < > sunayana.02@ > > wrote: > >> 1.My field definition: >> > <fieldType name="text_auto" class="solr.TextField" >> > positionIncrementGap="100" > >> > <analyzer type="index"> >> > <tokenizer class="solr.StandardTokenizerFactory"/> >> > <filter class="solr.LowerCaseFilterFactory"/> >> > <filter class="solr.ShingleFilterFactory" >> > minShingleSize="2" >> maxShingleSize="4" >> outputUnigrams="true" >> outputUnigramsIfNoShingles="true"/> >> > </analyzer> >> > <analyzer type="query"> >> > <tokenizer class="solr.StandardTokenizerFactory"/> >> > <filter class="solr.LowerCaseFilterFactory"/> >> > </analyzer> >> > </fieldType> >> >> 2.On analysis page, it shows me the lowercased word,for both index as >> well >> as query analyzers.Attaching a screenshot. Is there any other step that I >> am >> mising out? >> <http://lucene.472066.n3.nabble.com/file/n4131663/analysis.png> >> >> Dmitry Kan-2 wrote >> > Could you show the updated field definition? >> > Does analysis page show sensible output for your query on >> > indexing/querying >> > sides? >> > >> > >> > On Wed, Apr 16, 2014 at 5:52 PM, Sunayana < >> >> > sunayana.02@ >> >> > > wrote: >> > >> >> Thanks for replying, >> >> 1.Yes,I re-indexed data after the changes. >> >> 2.Changing to STF, did not help.. >> >> >> >> >> >> >> >> >> >> -- >> >> View this message in context: >> >> >> http://lucene.472066.n3.nabble.com/Autocomplete-with-Case-insensitive-feature-tp4131182p4131499.html >> >> Sent from the Solr - User mailing list archive at Nabble.com. >> >> >> > >> > >> > >> > -- >> > Dmitry >> > Blog: http://dmitrykan.blogspot.com >> > Twitter: http://twitter.com/dmitrykan >> >> >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Autocomplete-with-Case-insensitive-feature-tp4131182p4131663.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > > > > -- > Dmitry > Blog: http://dmitrykan.blogspot.com > Twitter: http://twitter.com/dmitrykan -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-with-Case-insensitive-feature-tp4131182p4135560.html Sent from the Solr - User mailing list archive at Nabble.com.