Feed Lucene Fields with pre-interned field names as metadata constants

Description

Field names are interned by Lucene if we can't guaranteed they are already interned, but the API allows to provide pre-interned field names.

We build most of these field names at runtime, although they are actually all known at boot time and could be pre-generated, and interned once.

Environment

None

Assignee

Unassigned

Reporter

Sanne Grinovero

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure