make LengthFilterFactory's min/max args have sensible defaults [LUCENE-5490]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
LengthFilterFactory's min/max args are currently required, but it seems like we could give them sensible defaults and make them optional...
min = 0
max = IndexWriter.MAX_TERM_LENGTH
---
Migrated from [LUCENE-5490](https://issues.apache.org/jira/browse/LUCENE-5490) by Chris M. Hostetter (@hossman)
Contributor guide
Research direction
Start by locating LengthFilterFactory and its min/max argument handling, then inspect how IndexWriter.MAX_TERM_LENGTH is exposed for this use. Confirm the intended defaults are min=0 and max=IndexWriter.MAX_TERM_LENGTH, while explicit arguments continue to work; completion should include relevant regression coverage if the existing test entry point is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100