You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by aseem cheema <as...@gmail.com> on 2009/11/11 21:01:21 UTC

Using escapedTags in solr.HTMLStripCharFilterFactory

Hey Guys,
I could not find any example of how to use escapedTags with
solr.HTMLStripCharFilterFactory. I am willing to contribute if someone
can guide me how this works, and what is the best way to document this
(example in source code, or a wiki entry).

I am essentially trying to push <center>Content</center> using SolrJ,
but solrj escapes the <, > characters, which is good. But
HTMLStripCharFilterFactory fails to filter those out and the result is
that my index has the html tags.

Any help is highly appreciated.
Thanks
-- 
Aseem