Package org.apache.solr.servlet
Class CoordinatorHttpSolrCall
- java.lang.Object
-
- org.apache.solr.servlet.HttpSolrCall
-
- org.apache.solr.servlet.CoordinatorHttpSolrCall
-
public class CoordinatorHttpSolrCall extends HttpSolrCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoordinatorHttpSolrCall.Factory
-
Field Summary
Fields Modifier and Type Field Description static StringSYNTHETIC_COLL_PREFIX-
Fields inherited from class org.apache.solr.servlet.HttpSolrCall
action, collectionsList, config, core, cores, coreUrl, handler, INTERNAL_REQUEST_COUNT, invalidStates, origCorename, ORIGINAL_USER_PRINCIPAL_HEADER, path, queryParams, random, req, requestType, response, retry, solrDispatchFilter, solrReq
-
-
Constructor Summary
Constructors Constructor Description CoordinatorHttpSolrCall(CoordinatorHttpSolrCall.Factory factory, SolrDispatchFilter solrDispatchFilter, CoreContainer cores, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean retry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SolrCoregetCore(CoordinatorHttpSolrCall.Factory factory, HttpSolrCall solrCall, String collectionName, boolean isPreferLeader)protected SolrCoregetCoreByCollection(String collectionName, boolean isPreferLeader)protected voidinit()static SolrQueryRequestwrappedReq(SolrQueryRequest delegate, String collectionName, HttpSolrCall httpSolrCall)-
Methods inherited from class org.apache.solr.servlet.HttpSolrCall
_getHandler, addCollectionParamIfNeeded, autoCreateSystemColl, call, executeCoreRequest, extractHandlerFromURLPath, extractRemotePath, getAliases, getCollectionsList, getCommands, getCore, getPath, getQueryParams, getRemoteCoreUrl, getReq, getResponseWriter, getSpan, getSpec, getValidators, handleAdmin, handleAdminOrRemoteRequest, logAndFlushAdminRequest, populateTracingSpan, resolveCollectionListOrAlias, sendError, sendError, sendRemoteQuery, shouldAudit, shouldAudit, shouldAudit, shouldAudit, writeResponse
-
-
-
-
Field Detail
-
SYNTHETIC_COLL_PREFIX
public static final String SYNTHETIC_COLL_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CoordinatorHttpSolrCall
public CoordinatorHttpSolrCall(CoordinatorHttpSolrCall.Factory factory, SolrDispatchFilter solrDispatchFilter, CoreContainer cores, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean retry)
-
-
Method Detail
-
getCoreByCollection
protected SolrCore getCoreByCollection(String collectionName, boolean isPreferLeader)
- Overrides:
getCoreByCollectionin classHttpSolrCall
-
getCore
public static SolrCore getCore(CoordinatorHttpSolrCall.Factory factory, HttpSolrCall solrCall, String collectionName, boolean isPreferLeader)
-
init
protected void init() throws Exception- Overrides:
initin classHttpSolrCall- Throws:
Exception
-
wrappedReq
public static SolrQueryRequest wrappedReq(SolrQueryRequest delegate, String collectionName, HttpSolrCall httpSolrCall)
-
-