Re: preserve special characters

2013-06-18 Thread Mingfeng Yang
Hi Jack, That seems like the solution I am looking for. Thanks so much! //Can't find this "types" for WDF anywhere. Ming- On Tue, Jun 18, 2013 at 4:52 PM, Jack Krupansky wrote: > The WDF has a "types" attribute which can specify one or more character > type mapping files. You could create a f

Re: preserve special characters

2013-06-18 Thread Jack Krupansky
The WDF has a "types" attribute which can specify one or more character type mapping files. You could create a file like: @ => ALPHA _ => ALPHA For example (from the book!): Example - Treat at-sign and underscores as text The file +at-under-alpha.txt+ would contain:

Re: preserve special characters

2013-06-18 Thread Learner
You can use keyword tokenizer.. Creates org.apache.lucene.analysis.core.KeywordTokenizer. Treats the entire field as a single token, regardless of its content. Example: "http://example.com/I-am+example?Text=-Hello"; ==> "http://example.com/I-am+example?Text=-Hello"; -- View this message in co