Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -302,21 +302,20 @@ public SemanticTextFieldMapper build(MapperBuilderContext context) {
* This will delay the creation of sub-fields, so indexing and querying for this field won't work
* until the corresponding inference endpoint is created.
*/
logger.warn(
"The field [{}] references an unknown inference ID [{}]. "
+ "Indexing and querying this field will not work correctly until the corresponding "
+ "inference endpoint is created.",
leafName(),
inferenceId.get()
);
}
} else {
resolvedModelSettings = modelSettings.get();
}

if (modelSettings.get() != null) {
validateServiceSettings(modelSettings.get(), resolvedModelSettings);
} else {
logger.warn(
"The field [{}] references an unknown inference ID [{}]. "
+ "Indexing and querying this field will not work correctly until the corresponding "
+ "inference endpoint is created.",
leafName(),
inferenceId.get()
);
}

final String fullName = context.buildFullName(leafName());
Expand Down