Package org.apache.solr.handler.admin
Class LukeRequestHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.admin.LukeRequestHandler
- All Implemented Interfaces:
AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider
Exposes the internal lucene index. It's registered at /admin/luke by default.
It is inspired by and modeled on Luke, the Lucene Index Browser that is currently a Lucene module: https://github.com/apache/lucene/tree/main/lucene/luke
- Since:
- solr 1.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBase
RequestHandlerBase.HandlerMetricsNested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.NameNested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.solr.handler.RequestHandlerBase
aggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, publishCpuTime, REQUEST_CPU_TIMER_CONTEXT, solrMetricsContext, SOURCE_ATTRFields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, valuesFields inherited from interface org.apache.solr.metrics.SolrMetricProducer
CATEGORY_ATTR, HANDLER_ATTR, NAME_ATTR, OPERATION_ATTR, PLUGIN_NAME_ATTR, RESULT_ATTR, TYPE_ATTRFields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCategory of this componentSimple one or two line descriptionstatic org.apache.solr.common.util.SimpleOrderedMap<String> getIndexInfo(org.apache.lucene.index.DirectoryReader reader) getPermissionName(AuthorizationContext request) voidMethods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, isInternalShardRequest, processErrorMetricsOnException, processReceivedException, setPluginInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.api.ApiSupport
getJerseyResources, registerV1, registerV2Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
Field Details
-
NUMTERMS
- See Also:
-
INCLUDE_INDEX_FIELD_FLAGS
- See Also:
-
DOC_ID
- See Also:
-
ID
- See Also:
-
DEFAULT_COUNT
public static final int DEFAULT_COUNT- See Also:
-
-
Constructor Details
-
LukeRequestHandler
public LukeRequestHandler()
-
-
Method Details
-
getPermissionName
-
handleRequestBody
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
getFieldFlagsKey
- Returns:
- a key to what each character means
-
getIndexInfo
public static CoreStatusResponse.IndexDetails getIndexInfo(org.apache.lucene.index.DirectoryReader reader) throws IOException - Throws:
IOException
-
getDescription
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classRequestHandlerBase
-
getCategory
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
getCategoryin interfaceSolrInfoBean- Overrides:
getCategoryin classRequestHandlerBase
-