Re: preserve special characters

2013-06-18 Thread Mingfeng Yang
: @World_bar 3: r@end > > > -- Jack Krupansky > > -Original Message- From: Mingfeng Yang > Sent: Tuesday, June 18, 2013 6:58 PM > To: solr-user@lucene.apache.org > Subject: preserve special characters > > > We need to index and search lots of tweets which ca

Re: preserve special characters

2013-06-18 Thread Jack Krupansky
t+ would contain: @ => ALPHA _ => ALPHA The analysis results: Source: Hello @World_bar, r@end. Tokens: 1: Hello 2: @World_bar 3: r@end -- Jack Krupansky -Original Message- From: Mingfeng Yang Sent: Tuesday, June 18, 2013 6:58 PM To: solr-user@lucene.apache.org Sub

Re: preserve special characters

2013-06-18 Thread Learner
-- View this message in context: http://lucene.472066.n3.nabble.com/preserve-special-characters-tp4071488p4071496.html Sent from the Solr - User mailing list archive at Nabble.com.

preserve special characters

2013-06-18 Thread Mingfeng Yang
We need to index and search lots of tweets which can like "@solr: solr is great". or "@solr_lucene, good combination". And we want to search with "@solr" or "@solr_lucene". How can we preserve "@" and "_" in the index? If using whitespacetokennizer followed by worddelimiterfilter, @solr_lucene