mirror of https://github.com/apache/lucene.git
reverting SOLR-6938
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69dd5e42f2
commit
bd9de6bc24
|
@ -23,7 +23,6 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.solr.common.params.CommonParams;
|
||||
import org.apache.solr.common.util.NamedList;
|
||||
import org.apache.solr.handler.PingRequestHandler;
|
||||
import org.apache.solr.handler.RealTimeGetHandler;
|
||||
|
@ -43,7 +42,6 @@ import org.apache.solr.request.SolrRequestHandler;
|
|||
|
||||
import static java.util.Collections.singletonMap;
|
||||
import static org.apache.solr.common.cloud.ZkNodeProps.makeMap;
|
||||
import static org.apache.solr.common.params.CommonParams.STREAM_CONTENTTYPE;
|
||||
import static org.apache.solr.core.PluginInfo.DEFAULTS;
|
||||
import static org.apache.solr.core.PluginInfo.INVARIANTS;
|
||||
|
||||
|
@ -54,9 +52,9 @@ public class PluginsRegistry {
|
|||
|
||||
//update handle implicits
|
||||
implicits.add(getReqHandlerInfo("/update", UpdateRequestHandler.class, null));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.JSON_PATH, UpdateRequestHandler.class, singletonMap(STREAM_CONTENTTYPE, "application/json")));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.CSV_PATH, UpdateRequestHandler.class, singletonMap(STREAM_CONTENTTYPE, "application/csv")));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.DOC_PATH, UpdateRequestHandler.class, makeMap(STREAM_CONTENTTYPE, "application/json", "json.command", "false")));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.JSON_PATH, UpdateRequestHandler.class, singletonMap("update.contentType", "application/json")));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.CSV_PATH, UpdateRequestHandler.class, singletonMap("update.contentType", "application/csv")));
|
||||
implicits.add(getReqHandlerInfo(UpdateRequestHandler.DOC_PATH, UpdateRequestHandler.class, makeMap("update.contentType", "application/json", "json.command", "false")));
|
||||
|
||||
//solrconfighandler
|
||||
implicits.add(getReqHandlerInfo("/config", SolrConfigHandler.class, null));
|
||||
|
|
Loading…
Reference in New Issue