Skip to content

Commit

Permalink
fix(search): fix mapping builder bug
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Oct 20, 2023
1 parent 35d7770 commit ae60c3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private static Map<String, Object> getMappingsForField(@Nonnull final Searchable
} else if (fieldType == FieldType.DATETIME) {
mappingForField.put(TYPE, ESUtils.DATE_FIELD_TYPE);
} else if (fieldType == FieldType.OBJECT) {
mappingForField.put(TYPE, ESUtils.DATE_FIELD_TYPE);
mappingForField.put(TYPE, ESUtils.OBJECT_FIELD_TYPE);
} else {
log.info("FieldType {} has no mappings implemented", fieldType);
}
Expand Down

0 comments on commit ae60c3e

Please sign in to comment.