Re: Suggestion that preserve original phrase case

2014-04-19 Thread coolbung
Selvam, Do you mind posting teh relevant sections of your schema and config files ? -- View this message in context: http://lucene.472066.n3.nabble.com/Suggestion-that-preserve-original-phrase-case-tp4032454p4132122.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Suggestion that preserve original phrase case

2013-01-17 Thread Erick Erickson
You could write a custom Filter (or perhaps Tokenizer), but I usually just do it on the input side before things get sent to Solr. I don't think PatternReplaceCharFilterFactory will help, you could easily turn the input into original:original, but then you'd need to write a custom filter that

Re: Suggestion that preserve original phrase case

2013-01-17 Thread Selvam
Thanks again Eric. This time I got it working :). Infact your first response itself had clear explanation, somehow I did not understand it completely! On Thu, Jan 17, 2013 at 6:59 PM, Erick Erickson erickerick...@gmail.comwrote: You could write a custom Filter (or perhaps Tokenizer), but I

Re: Suggestion that preserve original phrase case

2013-01-15 Thread Selvam
Thanks Erick, can you tell me how to do the appending (lowercaseversion:LowerCaseVersion) before indexing. I tried pattern factory filters, but I could not get it right. On Sun, Jan 13, 2013 at 8:49 PM, Erick Erickson erickerick...@gmail.comwrote: One way I've seen this done is to index pairs

Re: Suggestion that preserve original phrase case

2013-01-13 Thread Erick Erickson
One way I've seen this done is to index pairs like lowercaseversion:LowerCaseVersion. You can't push this whole thing through your field as defined since it'll all be lowercased, you have to produce the left hand side of the above yourself and just use KeywordTokenizer without LowercaseFilter.