Re: Make search on the particular field to be case sensitive

2017-11-10 Thread Karan Saini
Hi Erick, Please ignore my earlier mail. I got it worked ! I missed the rule attribute. Now it is working. Thanks, Karan On 10 November 2017 at 15:59, Karan Saini wrote: > Hi Erick, > > Thanks for the help. It is working fine with the *KeywordTokenizerFactory. >

Re: Make search on the particular field to be case sensitive

2017-11-10 Thread Karan Saini
Hi Erick, Thanks for the help. It is working fine with the *KeywordTokenizerFactory. *Like you mentioned, i want to search for "dog" or "*dog*" alone also. Case sensitivity is working fine, but i want to have the wild based search also. So I tried this changed code, but no luck !!

Re: Make search on the particular field to be case sensitive

2017-11-09 Thread Amrit Sarkar
Ah ok. I didn't test and laid it over. Thank you Erick for correcting me out. On 9 Nov 2017 9:06 p.m., "Erick Erickson" wrote: > This won't quite work. "string" types are totally un-analyzed you > cannot add filters to a solr.StrField, you must use solr.TextField >

Re: Make search on the particular field to be case sensitive

2017-11-09 Thread Erick Erickson
This won't quite work. "string" types are totally un-analyzed you cannot add filters to a solr.StrField, you must use solr.TextField rather than solr.StrField. start over and re-index from scratch in a new collection of course. You also need to make sure you really want

Re: Make search on the particular field to be case sensitive

2017-11-09 Thread Amrit Sarkar
Behavior of the field values is defined by fieldType analyzer declaration. If you look at the managed-schema; You will find fieldType declarations like: > > ignoreCase="true"/> class="solr.EnglishPossessiveFilterFactory"/> "solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>

Make search on the particular field to be case sensitive

2017-11-09 Thread Karan Saini
Hi guys, Solr version :: 6.6.1 ** I have around 10 fields in my core. I want to make the search on this specific field to be case sensitive. Please advise, how to introduce case sensitivity at the field level. What changes do i need to make for this field ? Thanks, Karan