PrefixCodedTerms should cache its hash code [LUCENE-7577]
Open
legacy-jira-priority:Minor
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
We have several queries that cache the hashcode of a PrefixCodedTerms instance on top of it, so we could simplify by moving the caching to PrefixCodedTerms directly.
---
Migrated from [LUCENE-7577](https://issues.apache.org/jira/browse/LUCENE-7577) by Adrien Grand (@jpountz)
Attachments: [LUCENE-7577.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7577/LUCENE-7577.patch)
Contributor guide
Assessment
This issue has not been assessed yet.