apache / apache/lucene

Allow runtime settings on Codecs [LUCENE-4526]

Open
#5,592 4 comments 0 reactions 0 assignees View on GitHub
affects-version:4.0 legacy-jira-fix-version:4.9 legacy-jira-fix-version:6.0 legacy-jira-priority:Major module:core/codecs type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Today we expose termIndexInterval and termIndexDivisor via several APIs and they are deprecated. Those settings are 1. codec / postingformat specific and 2. not extendable. We should provide a more flexible way to pass information down to our codecs.

---
Migrated from [LUCENE-4526](https://issues.apache.org/jira/browse/LUCENE-4526) by Simon Willnauer (@s1monw), 1 vote, updated May 09 2016
Attachments: [LUCENE-4526.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4526/LUCENE-4526.patch)
Linked issues:
- #5161

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the deprecated termIndexInterval and termIndexDivisor APIs, then inspect linked issue #5161 and the attached LUCENE-4526.patch. Determine the intended extensible mechanism for passing codec- or postingformat-specific settings and confirm the scope before defining what completion means.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.