Not all Filters implement equals and hash code [LUCENE-5557]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
It appears that not all of org.apache.lucene.search.Filter classes implement equals and hash code. The ones I have seen that don't are:
org.apache.lucene.search.ChainedFilter
org.apache.lucene.search.FieldCacheTermsFilter
There are probably other ones out there as well.
---
Migrated from [LUCENE-5557](https://issues.apache.org/jira/browse/LUCENE-5557) by John Mark
Contributor guide
Research direction
Start by reviewing org.apache.lucene.search.ChainedFilter and FieldCacheTermsFilter, then inspect the other org.apache.lucene.search.Filter classes to identify which lack equals and hashCode. The work is done when the affected Filter classes implement both methods consistently; the issue does not name a test file, so determine the relevant existing tests while investigating.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100