Package org.apache.solr.request
Class LocalSolrQueryRequest
- java.lang.Object
- 
- org.apache.solr.request.SolrQueryRequestBase
- 
- org.apache.solr.request.LocalSolrQueryRequest
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- SolrQueryRequest
 
 public class LocalSolrQueryRequest extends SolrQueryRequestBase 
- 
- 
Field SummaryFields Modifier and Type Field Description StringuserPrincipalName- 
Fields inherited from class org.apache.solr.request.SolrQueryRequestBasecontext, core, json, origParams, params, schema, searcherHolder, startTime, streams
 
- 
 - 
Constructor SummaryConstructors Constructor Description LocalSolrQueryRequest(SolrCore core, String query, String qtype, int start, int limit, Map<?,?> args)LocalSolrQueryRequest(SolrCore core, Map<String,String[]> args)LocalSolrQueryRequest(SolrCore core, SolrParams args)LocalSolrQueryRequest(SolrCore core, NamedList<?> args)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetUserPrincipal()protected static SolrParamsmakeParams(String query, String qtype, int start, int limit, Map<?,?> args)voidsetUserPrincipalName(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.- 
Methods inherited from class org.apache.solr.request.SolrQueryRequestBaseclose, getCommands, getContentStreams, getContext, getCore, getJSON, getOriginalParams, getParams, getParamString, getRequestTimer, getSchema, getSearcher, getSpan, getSpec, getStartTime, getTracer, getValidators, setContentStreams, setJSON, setParams, toString, updateSchemaToLatest
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.request.SolrQueryRequestgetHttpMethod, getHttpSolrCall, getPath, getPathTemplateValues
 
- 
 
- 
- 
- 
Field Detail- 
userPrincipalNamepublic String userPrincipalName 
 
- 
 - 
Method Detail- 
makeParamsprotected static SolrParams makeParams(String query, String qtype, int start, int limit, Map<?,?> args) 
 - 
getUserPrincipalpublic Principal getUserPrincipal() - Specified by:
- getUserPrincipalin interface- SolrQueryRequest
- Overrides:
- getUserPrincipalin class- SolrQueryRequestBase
 
 - 
setUserPrincipalNamepublic 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. It is experiemental and subject to removal- See Also:
- PKIAuthenticationPlugin.NODE_IS_USER,- getUserPrincipal()
- WARNING: This API is experimental and might change in incompatible ways in the next release.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
 
 
- 
 
-