code: @Override
      protected String doBase(String name, Object value) {
          if (value instanceof InetAddress) {
              return ((InetAddress) value).getHostAddress();
          } else if (value instanceof String) {
              return doBase(name, (String) value);
          } else {
              throw new IndexException("Field '{}' requires an inet address, but found '{}'", name, value);
          }
      }
docs: {@inheritDoc}