-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Improve block loader for source only runtime IP fields #135393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve block loader for source only runtime IP fields #135393
Conversation
Hi @Kubik42, I've created a changelog YAML for you. |
1d779cd
to
b577497
Compare
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
Hi @Kubik42, I've created a changelog YAML for you. |
import java.net.InetAddress; | ||
import java.util.List; | ||
|
||
public class IpFallbackSyntheticSourceReader extends FallbackSyntheticSourceBlockLoader.SingleValueReader<InetAddress> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code between IpScriptFieldType
and IpFieldMapper
is identical, so I extracted it into a standalone class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Related to #134121