You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_logger.LogWarning("{IndexName} index is missing segments, it will be deleted.",indexName);
292
+
_logger.LogWarning("{IndexName} index at {IndexPath} is missing segments, it will be deleted.",indexName,directoryInfo.FullName);
284
293
result=CreateResult.MissingSegments;
285
294
}
286
295
elseif(!status.Clean)
287
296
{
288
-
_logger.LogWarning("Checked main index {IndexName} and it is not clean.",indexName);
297
+
_logger.LogWarning("Checked index {IndexName} at {IndexPath} and it is not clean.",indexName,directoryInfo.FullName);
289
298
result=CreateResult.NotClean;
290
299
291
300
if(doFix)
292
301
{
293
-
_logger.LogWarning("Attempting to fix {IndexName}. {DocumentsLost} documents will be lost.",indexName,status.TotLoseDocCount);
302
+
_logger.LogWarning("Attempting to fix {IndexName} at {IndexPath}. {DocumentsLost} documents will be lost.",indexName,status.TotLoseDocCount,directoryInfo.FullName);
_logger.LogError("{IndexName} index could not be fixed, it will be deleted.",indexName);
311
+
_logger.LogError("{IndexName} index at {IndexPath} could not be fixed, it will be deleted.",indexName,directoryInfo.FullName);
303
312
result|=CreateResult.NotFixed;
304
313
}
305
314
else
306
315
{
307
-
_logger.LogInformation("Index {IndexName} fixed. {DocumentsLost} documents were lost.",indexName,status.TotLoseDocCount);
316
+
_logger.LogInformation("Index {IndexName} at {IndexPath} fixed. {DocumentsLost} documents were lost.",indexName,status.TotLoseDocCount,directoryInfo.FullName);
308
317
result|=CreateResult.Fixed;
309
318
}
310
319
}
311
320
catch(Exceptionex)
312
321
{
313
-
_logger.LogError(ex,"{IndexName} index could not be fixed, it will be deleted.",indexName);
322
+
_logger.LogError(ex,"{IndexName} index at {IndexPath} could not be fixed, it will be deleted.",indexName,directoryInfo.FullName);
314
323
result|=CreateResult.ExceptionNotFixed;
315
324
}
316
325
}
317
326
}
318
327
else
319
328
{
320
-
_logger.LogInformation("Checked main index {IndexName} and it is clean.",indexName);
329
+
_logger.LogInformation("Checked index {IndexName} at {IndexPath} and it is clean.",indexName,directoryInfo.FullName);
0 commit comments