Filtering of special characters depends on the filters you use for the fields in your schema.xml.
If you are using WordDelimiterFilterFactory in your analyzer then the special characters get removed during the processing of your field. But the WordDelimiterFilterFactory does a lot of other things too than just removing the special characters. If you feel that you can do away with the other features provided by the filter then you can remove it from your schema.xml file. In any other case, I guess you will have to customize the WordDelimiterFilter.java class to suit your purpose. -Kumar -----Original Message----- From: Sujatha Arun [mailto:suja.a...@gmail.com] Sent: Tuesday, January 06, 2009 3:05 PM To: solr-user@lucene.apache.org Subject: Re: Special characters Hi, I would like to query terms containing special chars . Regards Sujatha On Tue, Jan 6, 2009 at 2:59 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > You forgot to tell us what do you want to do with special characters? > > 1. Remove them from the documents while indexing? > 2. Don't remove them while indexing? > 3. Query with terms containing a special character? > > On Tue, Jan 6, 2009 at 2:55 PM, Sujatha Arun <suja.a...@gmail.com> wrote: > > > Hi, > > > > Can anyone point me to the thread if it exists on indexing special > > characters in solr. > > > > Regards > > Sujatha > > > > > > -- > Regards, > Shalin Shekhar Mangar. >