hi guys. I've noticed that one of the new features in Solr 1.4 is the Termscomponent which enables the Autosuggest.
but what puzzles me is how to actually use it in an application. most autosuggests are case insensitive, so there is no difference if I type in 'San Francisco' or 'san francisco'. now I've tried with a 'text' field, and a 'string' field with no joy. with String providing the best result, but still with case sensitivity. at the moment I'm using a custom field type <fieldType name="string_lc" class="solr.TextField" sortMissingLast="true" omitNorms="true"> <analyzer> <!-- KeywordTokenizer does no actual tokenizing, so the entire input string is preserved as a single token --> <tokenizer class="solr.KeywordTokenizerFactory"/> <!-- The LowerCase TokenFilter does what you expect, which can be when you want your sorting to be case insensitive --> <filter class="solr.LowerCaseFilterFactory" /> </analyzer> </fieldType> which converts all the field to all lower case, which allows me to submit the query as lower case and better good results. so the point of the email is to find out how do I get the autosuggest to return mixed case results, and not require me to lower case the query before I send it?