Shinsuke Sugaya 6 роки тому
батько
коміт
16a30ae75e

+ 1 - 1
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

@@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
     protected SearchHits getSearchHits(final SearchResponse response) {
     protected SearchHits getSearchHits(final SearchResponse response) {
         SearchHits hits = response.getHits();
         SearchHits hits = response.getHits();
         if (hits == null) {
         if (hits == null) {
-            throw new IllegalBehaviorStateException("hits is null." + response.status());
+            throw new IllegalBehaviorStateException("hits is null: " + response);
         }
         }
         return hits;
         return hits;
     }
     }

+ 1 - 1
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

@@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
     protected SearchHits getSearchHits(final SearchResponse response) {
     protected SearchHits getSearchHits(final SearchResponse response) {
         SearchHits hits = response.getHits();
         SearchHits hits = response.getHits();
         if (hits == null) {
         if (hits == null) {
-            throw new IllegalBehaviorStateException("hits is null." + response.status());
+            throw new IllegalBehaviorStateException("hits is null: " + response);
         }
         }
         return hits;
         return hits;
     }
     }

+ 1 - 1
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

@@ -555,7 +555,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
     protected SearchHits getSearchHits(final SearchResponse response) {
     protected SearchHits getSearchHits(final SearchResponse response) {
         SearchHits hits = response.getHits();
         SearchHits hits = response.getHits();
         if (hits == null) {
         if (hits == null) {
-            throw new IllegalBehaviorStateException("hits is null." + response.status());
+            throw new IllegalBehaviorStateException("hits is null: " + response);
         }
         }
         return hits;
         return hits;
     }
     }