Hello!

You try to put the HTML into the XML sent to Solr right ? You should
use the proper UTF-8 encoding to do that. For example look at the
utf8-example.xml file from the exampledocs directory that comes with
Solr and you'll see something like this:

<field name="features">tag with escaped chars: &lt;nicetag/&gt;</field>

As you can see the < and > are properly encoded as &lt; and &gt;

-- 
Regards,
 Rafał Kuć
 Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

> Hi,

> I am using Solr 4.0.0. I have a HTML content as description of a product.
> If I index it without any filtering it is giving errors on search.
> How can I filter an HTML content.

> Pratyul

Reply via email to