mirror of https://github.com/apache/lucene.git
SOLR-13295: Reproducible failure in TestDistributedGrouping
This commit is contained in:
parent
de030178b5
commit
558c515bf3
|
@ -98,6 +98,8 @@ Bug Fixes
|
||||||
|
|
||||||
* SOLR-13285: Updates with enum fields and javabin cause ClassCastException (noble)
|
* SOLR-13285: Updates with enum fields and javabin cause ClassCastException (noble)
|
||||||
|
|
||||||
|
* SOLR-13295: Reproducible failure in TestDistributedGrouping (Erick Erickson)
|
||||||
|
|
||||||
Improvements
|
Improvements
|
||||||
----------------------
|
----------------------
|
||||||
* SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough
|
* SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough
|
||||||
|
|
|
@ -463,7 +463,7 @@ public class ResponseBuilder
|
||||||
if (result.isPartialResults()) {
|
if (result.isPartialResults()) {
|
||||||
rsp.getResponseHeader().asShallowMap()
|
rsp.getResponseHeader().asShallowMap()
|
||||||
.put(SolrQueryResponse.RESPONSE_HEADER_PARTIAL_RESULTS_KEY, Boolean.TRUE);
|
.put(SolrQueryResponse.RESPONSE_HEADER_PARTIAL_RESULTS_KEY, Boolean.TRUE);
|
||||||
if(getResults().docList==null) {
|
if(getResults() != null && getResults().docList==null) {
|
||||||
getResults().docList = new DocSlice(0, 0, new int[] {}, new float[] {}, 0, 0);
|
getResults().docList = new DocSlice(0, 0, new int[] {}, new float[] {}, 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue