apache / apache/lucene

Field norm modifier (CLI tool) [LUCENE-741]

Open
#1,816 4 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor module:core/index type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

I took Chris' LengthNormModifier (contrib/misc) and modified it slightly, to allow us to set fake norms on an existing fields, effectively making it equivalent to Field.Index.NO_NORMS.

This is related to #1526 (NO_NORMS patch) and #1574 (LengthNormModifier contrib from Chris).

---
Migrated from [LUCENE-741](https://issues.apache.org/jira/browse/LUCENE-741) by Otis Gospodnetic (@otisg), updated Jan 12 2007
Attachments: [for.nrm.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-741/for.nrm.patch), [LUCENE-741.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-741/LUCENE-741.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start by reading contrib/misc/LengthNormModifier and the attached for.nrm.patch and LUCENE-741.patch. Review related issues #1526 and #1574 to understand the intended relationship. Done means an existing field can receive fake norms so its behavior is equivalent to Field.Index.NO_NORMS, with the CLI tool's scope clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.