You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Prachi Phatak <pp...@prospricing.com> on 2012/06/12 20:16:39 UTC

I need help on escaping the special char.

I tried WordDelimiterFactory with types option. It doesn't seem working.

How can I escape i.e.+ - && || ! ( ) { } [ ] ^ " ~ * ? : \ in configuration.

Prachi.

Re: I need help on escaping the special char.

Posted by Jack Krupansky <ja...@basetechnology.com>.
See: 
http://lucene.472066.n3.nabble.com/index-special-characters-solr-td3987157.html

Basically, list the special characters in a text file with the "types" 
attribute and map them to type "ALPHA".

-- Jack Krupansky

-----Original Message----- 
From: Prachi Phatak
Sent: Tuesday, June 12, 2012 2:16 PM
To: solr-user@lucene.apache.org
Subject: I need help on escaping the special char.

I tried WordDelimiterFactory with types option. It doesn't seem working.

How can I escape i.e.+ - && || ! ( ) { } [ ] ^ " ~ * ? : \ in configuration.

Prachi.