contrib/demo's tests leave threads running [LUCENE-2823]
Open
legacy-jira-priority:Major
module:demo
type:bug
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
contrib/demo for some reason parses html in a strange way with PipedInputStream and a separate thread.
I don't understand why it needs to do this or be this complicated (its an example), and its tests leave rogue threads running.
---
Migrated from [LUCENE-2823](https://issues.apache.org/jira/browse/LUCENE-2823) by Robert Muir (@rmuir)
Contributor guide
Research direction
Start with the contrib/demo tests and the HTML parsing path that uses PipedInputStream and a separate thread. Reproduce the tests and inspect thread cleanup; done means the tests no longer leave rogue threads running.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100