public class LocalSolrQueryRequest extends SolrQueryRequestBase
Modifier and Type | Field and Description |
---|---|
static Map |
emptyArgs |
String |
userPrincipalName |
context, core, json, origParams, params, schema, searcherHolder, startTime, streams
Constructor and Description |
---|
LocalSolrQueryRequest(SolrCore core,
Map<String,String[]> args) |
LocalSolrQueryRequest(SolrCore core,
NamedList args) |
LocalSolrQueryRequest(SolrCore core,
SolrParams args) |
LocalSolrQueryRequest(SolrCore core,
String query,
String qtype,
int start,
int limit,
Map args) |
Modifier and Type | Method and Description |
---|---|
Principal |
getUserPrincipal() |
protected static SolrParams |
makeParams(String query,
String qtype,
int start,
int limit,
Map args) |
void |
setUserPrincipalName(String s)
Allows setting the 'name' of the User Principal for the purposes of creating local requests
in a solr node when security is enabled.
|
close, getCommands, getContentStreams, getContext, getCore, getJSON, getOriginalParams, getParams, getParamString, getRequestTimer, getSchema, getSearcher, getSpec, getStartTime, getValidators, setContentStreams, setJSON, setParams, toString, updateSchemaToLatest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHttpMethod, getHttpSolrCall, getPath, getPathTemplateValues
public static final Map emptyArgs
public String userPrincipalName
public LocalSolrQueryRequest(SolrCore core, String query, String qtype, int start, int limit, Map args)
public LocalSolrQueryRequest(SolrCore core, SolrParams args)
protected static SolrParams makeParams(String query, String qtype, int start, int limit, Map args)
public Principal getUserPrincipal()
getUserPrincipal
in interface SolrQueryRequest
getUserPrincipal
in class SolrQueryRequestBase
public void setUserPrincipalName(String s)
PKIAuthenticationPlugin.NODE_IS_USER
,
getUserPrincipal()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.