opensearch-project / opensearch-project/opensearch-java
[FEATURE] HtmlStripProcessor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 165
- Forks
- 250
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 26
Description
The following processor is available in the latest openSearch version, but is missing from the java client:
https://docs.opensearch.org/docs/latest/ingest-pipelines/processors/html-strip/
The html_strip processor removes HTML tags from string fields in incoming documents. This processor is useful when indexing data from webpages or other sources that may contain HTML markup. HTML tags are replaced with newline characters (\n).
Could this processor be added?
The alternative would be to implement a new client to send the request directly to openSearch in json format.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the OpenSearch html_strip processor documentation linked in the issue and inspect how the Java client represents other ingest-pipeline processors. Confirm the request shape and expected newline behavior from the documentation. Done means the Java client can express and send an html_strip processor request without requiring direct JSON requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100