apache / apache/lucene

Add stripContentOfTags option to HTMLStripCharFilter [LUCENE-5740]

Open
#6,802 10 comments 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.