Special characters are filtered out of (most) "text" fields, but are preserved in "string" fields. String fields might suit your needs, but are inconvenient for keyword searching.

You may be able to use the "types" option of the WordDelimiterFilterFactory to pass in a custom character type table that has the special characters treated as alphabetic characters. Otherwise, you may have to customize the code yourself.

-- Jack Krupansky

-----Original Message----- From: KPK
Sent: Thursday, May 31, 2012 7:38 PM
To: solr-user@lucene.apache.org
Subject: index special characters solr

Hi all
Can somebody please tell me how can I build an index in solr where one of my
field contains special characters like $ , %
I would also like to search on the same characters on that particular field.

Any advice would be appreciated.

Thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/index-special-characters-solr-tp3987157.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to