Re: Case Insensitive search while preserving case

2010-05-05 Thread Peter Sturge
You can't get 'round this without creating a copyField or similar. It's easy to do in schema.xml Store one field (e.g. 'state') using a fieldType that is configured to use a LowercaseFilterFactory, and the other not (e.g. 'state_verbatim'). When you search, use the lowercase one for case-insensiti

Re: Case Insensitive search while preserving case

2010-05-05 Thread Ahmet Arslan
> > All my fields are stored. > > And if my field name is "state" means that your suggestion > is appending > "fl=state", then no, that's not doing anything for > me.  =( > > The above config gets me part of the way to where I need to > be.  Storing, > for instance, "Alaska" in such a way that

Re: Case Insensitive search while preserving case

2010-05-05 Thread Erik Hatcher
alues lowercased when I do faceted or stats queries, or if I do a terms search. Always returned as "blah". Is there any way to only ever get the original value out of Solr no matter how I ask for it? -- View this message in context: http://lucene.472066.n3.nabble.com/Case-Insens

Re: Case Insensitive search while preserving case

2010-05-04 Thread dbashford
d that without the dupe field? -- View this message in context: http://lucene.472066.n3.nabble.com/Case-Insensitive-search-while-preserving-case-tp777602p777674.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Case Insensitive search while preserving case

2010-05-04 Thread Ahmet Arslan
> I've looked through the history and tried a lot of things > but can't quite get > this to work. > > Used this in my last attempt: > >     class="solr.TextField" > positionIncrementGap="100"> >       >         class="solr.KeywordTokenizerFactory"/> >         class="solr.LowerCaseFilterFactor

Case Insensitive search while preserving case

2010-05-04 Thread dbashford
k for it? -- View this message in context: http://lucene.472066.n3.nabble.com/Case-Insensitive-search-while-preserving-case-tp777602p777602.html Sent from the Solr - User mailing list archive at Nabble.com.