Using escapedTags in solr.HTMLStripCharFilterFactory

View: New views
1 Messages — Rating Filter:   Alert me  

Using escapedTags in solr.HTMLStripCharFilterFactory

by aseem cheema :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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