forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ip field parsing easier to read (elastic#76363)
This makes the IP parsing code in `IpFieldMapper` a little easier to read by removing the string/object juggling. It also pulls the value parsing bit out into a very sensible and readable method. As a bonus, this method is reusable and we *do* plan to reuse it.
- Loading branch information
Showing
1 changed file
with
19 additions
and
25 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