apache / apache/lucene

Implement FieldInfos and FieldInfo toString() [LUCENE-7362]

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

Description

FieldInfos and FieldInfo ought to override toString(). Perhaps FieldInfo.toString() can look like the pattern popularized by Luke, also seen in Solr?

---
Migrated from [LUCENE-7362](https://issues.apache.org/jira/browse/LUCENE-7362) by David Smiley (@dsmiley), updated Jun 30 2016

Contributor guide

Open the contributing guide

Research direction

Locate the FieldInfos and FieldInfo classes and inspect nearby toString() implementations, along with the Luke and Solr patterns referenced in the issue. Define readable string representations for both classes and verify that the output exposes the intended field information without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.