Remove warning 'Missing provider for nrt/sync' for disabled indexes
@@ -310,9 +310,11 @@ public class IndexUpdate implements Editor, PathSource {
// (and implicitly isIncluded method allows async def in non-async cycle only for nrt/sync defs)
// then we don't need to handle missing handler
if (definition.hasProperty(ASYNC_PROPERTY_NAME) && rootState.async == null) {
+ if (!TYPE_DISABLED.equals(type)) {
log.warn("Missing provider for nrt/sync index: {} (rootState.async: {}). " +
"Please note, it means that index data should be trusted only after this index " +
"is processed in an async indexing cycle.", definition, rootState.async);
+ }
} else {
rootState.missingProvider.onMissingIndex(type, definition, indexPath);
}
