apache / apache/lucene

PrefixCodedTerms should cache its hash code [LUCENE-7577]

Open
#8,628 4 comments 0 reactions 1 assignee Claimed by @jpountz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.