mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 09:36:46 +00:00
SOLR-3161 register "/select" as the default handler if it isn't already. Remove old DEFAULT_HANDLER_NAME="standard" constant which hasn't been used in a long time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a2a0a9db22
commit
d5fd5562cb
@ -41,7 +41,6 @@ import org.slf4j.LoggerFactory;
|
||||
public final class RequestHandlers {
|
||||
public static Logger log = LoggerFactory.getLogger(RequestHandlers.class);
|
||||
|
||||
public static final String DEFAULT_HANDLER_NAME="standard";
|
||||
protected final SolrCore core;
|
||||
// Use a synchronized map - since the handlers can be changed at runtime,
|
||||
// the map implementation should be thread safe
|
||||
@ -182,7 +181,7 @@ public final class RequestHandlers {
|
||||
}
|
||||
}
|
||||
|
||||
if(get("") == null) register("", get(DEFAULT_HANDLER_NAME));
|
||||
if(get("") == null) register("", get("/select"));//defacto default handler
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user