Wow, that's pretty infuriating. Thank you for the suggestion. I added it to the Wiki, with the hope that if it contains misinformation then someone will correct it and, consequently, save me from another one of these experiences :) (...and to also document that, hey, there is a tokenizer which treats the entire field as an exact value.)
Will go this route and re-index everything back into Solr...again...sigh. Scott On Mon, Oct 4, 2010 at 10:07 AM, Ahmet Arslan <iori...@yahoo.com> wrote: >> >> <fieldType >> name="idstr" class="solr.StrField"> >> <analyzer> >> <tokenizer >> class="solr.PatternTokenizerFactory" pattern="(.*)" >> group="1"/> >> <filter >> class="solr.LowerCaseFilterFactory"/> >> </analyzer> > > This definition is invalid. You cannot use charfilter/tokenizer/tokenfilter > with solr.StrField. > > But it is interesting that (i just tested) analysis.jsp (1.4.1) displays as > if its working. But if you observe at /schema.jsp you will see that real > indexed values are not lowercased. > > You can use this definition instead: > > <fieldType name="idstr" class="solr.TextField" positionIncrementGap="100"> > <analyzer> > <tokenizer class="solr.KeywordTokenizerFactory"/> > <filter class="solr.TrimFilterFactory"/> > <filter class="solr.LowerCaseFilterFactory"/> > </analyzer> > </fieldType> > > > >