浏览代码

Fixed typo

Simon Willnauer 12 年之前
父节点
当前提交
11ff90420a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java

+ 1 - 1
src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java

@@ -265,7 +265,7 @@ public abstract class TransportSearchTypeAction extends TransportAction<SearchRe
                 }
                 }
                 if (successulOps.get() == 0) {
                 if (successulOps.get() == 0) {
                     if (logger.isDebugEnabled()) {
                     if (logger.isDebugEnabled()) {
-                        logger.debug("All shards failied for phase: [{}]", firstPhaseName(), t);
+                        logger.debug("All shards failed for phase: [{}]", firstPhaseName(), t);
                     }
                     }
                     // no successful ops, raise an exception
                     // no successful ops, raise an exception
                     listener.onFailure(new SearchPhaseExecutionException(firstPhaseName(), "all shards failed", buildShardFailures()));
                     listener.onFailure(new SearchPhaseExecutionException(firstPhaseName(), "all shards failed", buildShardFailures()));