I want to query on cityname. This works when I query for example: "Boston"
But when I query "boston" it didnt show any results. In the database is stored: "Boston". So I thought: I should change the filter on this field to make everything lowercase. The field definition for city is: <field name="city" type="string" indexed="true" stored="true"/> So I changed its fieldtype "string" from: <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"> TO: <fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> But it still doesnt show any results when I query "boston"...why? -- View this message in context: http://lucene.472066.n3.nabble.com/Uppercase-and-lowercase-queries-tp1731349p1731349.html Sent from the Solr - User mailing list archive at Nabble.com.