Hi,
How should I setup Solr so I can search and get hit on special characters such as: + - && || ! ( ) { } [ ] ^ " ~ * ? : \ My need is, if a user has text like so: Doc-#1: "(Solr)" Doc-#2: "Solr" And they type "(solr)" I want a hit on "(solr)" only in document #1, with the brackets matching. And if they type "solr", they will get a hit in Document #2 only. An additional nice-to-have is, if they type "solr", I want a hit in both document #1 and #2. Here is what my current schema.xml looks like: <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_en.txt" enablePositionIncrements="true"/> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="1" splitOnCaseChange="0" splitOnNumerics="1" stemEnglishPossessive="1" preserveOriginal="1"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/> <filter class="solr.PorterStemFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> Currently, special characters are being stripped. Any idea how I can configure Solr to do this? I'm using Solr 3.6. Thanks !! -MJ