Add stripContentOfTags option to HTMLStripCharFilter [LUCENE-5740]
Open
legacy-jira-priority:Major
module:analysis
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
HTMLStripCharFilter should have an option to strip out the sub-content of certain elements. It already does this for SCRIPT & STYLE but it should be configurable to add more. I don't want certain elements to have their contents to be searchable.
---
Migrated from [LUCENE-5740](https://issues.apache.org/jira/browse/LUCENE-5740) by David Smiley (@dsmiley), updated Jul 28 2014
Contributor guide
Assessment
This issue has not been assessed yet.