@Override
    ObjectNode toJson(ObjectMapper mapper) {
      ObjectNode result = mapper.createObjectNode();
      result.with("regexp").with(fieldName).put("value", value);
      return result;
    }
A Query that does fuzzy matching for a specific value.
criteria/elasticsearch/src/org/immutables/criteria/elasticsearch/QueryBuilders.java