You could use an update processor to map non-ASCII codes to SGML entities. You could code it as a JavaScript script and use the stateless script update processor.

-- Jack Krupansky

-----Original Message----- From: Developer
Sent: Tuesday, November 19, 2013 5:46 PM
To: solr-user@lucene.apache.org
Subject: How to index X™ as ™ (HTML decimal entity)

I have a data coming in to SOLR as below.

<field name="displayName">X™ - Black</field>

I need to store the HTML Entity (decimal) equivalent value (i.e. &#8482;)
in SOLR rather than storing the original value.

Is there a way to do this?



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-index-X-as-8482-HTML-decimal-entity-tp4102002.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to