mirror of https://github.com/apache/lucene.git
SOLR-13281: Fix NPE in DocExpirationUpdateProcessor
This commit is contained in:
parent
2a3bd8e864
commit
9f644b1c69
|
@ -217,6 +217,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements (Erick Erickson)
|
||||
|
||||
* SOLR-13281: Fixed NPE in DocExpirationUpdateProcessorFactory (Munendra S N, Tomás Fernández Löbbe)
|
||||
|
||||
Improvements
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ import org.apache.solr.common.cloud.Replica;
|
|||
import org.apache.solr.common.cloud.Slice;
|
||||
import org.apache.solr.common.util.ExecutorUtil;
|
||||
import org.apache.solr.common.util.NamedList;
|
||||
import org.apache.solr.common.util.SimpleOrderedMap;
|
||||
import org.apache.solr.core.CloseHook;
|
||||
import org.apache.solr.core.SolrCore;
|
||||
import org.apache.solr.request.LocalSolrQueryRequest;
|
||||
|
@ -384,6 +385,7 @@ public final class DocExpirationUpdateProcessorFactory
|
|||
(factory.core, Collections.<String,String[]>emptyMap());
|
||||
try {
|
||||
final SolrQueryResponse rsp = new SolrQueryResponse();
|
||||
rsp.addResponseHeader(new SimpleOrderedMap<>(1));
|
||||
SolrRequestInfo.setRequestInfo(new SolrRequestInfo(req, rsp));
|
||||
try {
|
||||
|
||||
|
|
Loading…
Reference in New Issue