We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1f8c1 commit edaeebeCopy full SHA for edaeebe
server/src/main/java/org/elasticsearch/search/fetch/FetchPhaseDocsIterator.java
@@ -12,6 +12,7 @@
12
import org.apache.lucene.index.IndexReader;
13
import org.apache.lucene.index.LeafReaderContext;
14
import org.apache.lucene.index.ReaderUtil;
15
+import org.elasticsearch.common.breaker.CircuitBreakingException;
16
import org.elasticsearch.search.SearchHit;
17
import org.elasticsearch.search.SearchHits;
18
import org.elasticsearch.search.SearchShardTarget;
@@ -98,7 +99,7 @@ public final SearchHit[] iterate(
98
99
return partialSearchHits;
100
}
101
- } catch (SearchTimeoutException e) {
102
+ } catch (SearchTimeoutException | CircuitBreakingException e) {
103
throw e;
104
} catch (Exception e) {
105
purgeSearchHits(searchHits);
0 commit comments