-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script field source abstraction (#84737)
This change adds a ScriptFieldFactory class with a toScriptField and a DocValuesScriptFieldFactory class with a toScriptDocValues method. These classes are intended to facilitate the separation of the supplier of values to a script field and the field itself. The two new classes will provide a way for the old-style doc values to be accessed directly using a supplier instead of piggybacking off the new Field types which makes it easier to have source values for only the Field types moving forward. Note this change is mostly mechanical where the Fields themselves are the DocValuesFieldFactory's for now. This way we can make each field have its own PR to create a supplier for that field type making the general change far more manageable.
- Loading branch information
Showing
81 changed files
with
647 additions
and
446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.